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,
|
PSPCB_CREATE,
|
||||||
(LPPROPSHEETPAGEA)ppshpage);
|
(LPPROPSHEETPAGEA)ppshpage);
|
||||||
|
|
||||||
hwndPage = CreateDialogIndirectA(ppshpage->hInstance,
|
hwndPage = CreateDialogIndirectParamA(ppshpage->hInstance,
|
||||||
pTemplate,
|
pTemplate,
|
||||||
hwndParent,
|
hwndParent,
|
||||||
ppshpage->pfnDlgProc);
|
ppshpage->pfnDlgProc,
|
||||||
|
ppshpage);
|
||||||
|
|
||||||
ppInfo[index].hwndPage = hwndPage;
|
ppInfo[index].hwndPage = hwndPage;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue