Pass PROPSHEETPAGE to propertypage dialog as lParam.

This commit is contained in:
Marcus Meissner 1999-05-08 15:38:57 +00:00 committed by Alexandre Julliard
parent 896889f317
commit 3f284324a2
1 changed files with 5 additions and 4 deletions

View File

@ -611,10 +611,11 @@ static int PROPSHEET_CreatePage(HWND hwndParent,
PSPCB_CREATE,
(LPPROPSHEETPAGEA)ppshpage);
hwndPage = CreateDialogIndirectA(ppshpage->hInstance,
hwndPage = CreateDialogIndirectParamA(ppshpage->hInstance,
pTemplate,
hwndParent,
ppshpage->pfnDlgProc);
ppshpage->pfnDlgProc,
ppshpage);
ppInfo[index].hwndPage = hwndPage;