Pass PROPSHEETPAGE to propertypage dialog as lParam.
This commit is contained in:
parent
896889f317
commit
3f284324a2
|
@ -611,10 +611,11 @@ static int PROPSHEET_CreatePage(HWND hwndParent,
|
|||
PSPCB_CREATE,
|
||||
(LPPROPSHEETPAGEA)ppshpage);
|
||||
|
||||
hwndPage = CreateDialogIndirectA(ppshpage->hInstance,
|
||||
pTemplate,
|
||||
hwndParent,
|
||||
ppshpage->pfnDlgProc);
|
||||
hwndPage = CreateDialogIndirectParamA(ppshpage->hInstance,
|
||||
pTemplate,
|
||||
hwndParent,
|
||||
ppshpage->pfnDlgProc,
|
||||
ppshpage);
|
||||
|
||||
ppInfo[index].hwndPage = hwndPage;
|
||||
|
||||
|
|
Loading…
Reference in New Issue