Fill in the hwndFrom field of the NMHDR structure when sending

notifications.
This commit is contained in:
Thuy Nguyen 1999-10-31 17:33:50 +00:00 committed by Alexandre Julliard
parent f54c95ff07
commit a7de24baa0
1 changed files with 3 additions and 0 deletions

View File

@ -1021,6 +1021,7 @@ static BOOL PROPSHEET_Back(HWND hwndDlg)
PropSheetInfo* psInfo = (PropSheetInfo*) GetPropA(hwndDlg,
PropSheetInfoStr);
hdr.hwndFrom = hwndDlg;
hdr.code = PSN_WIZBACK;
hwndPage = psInfo->proppage[psInfo->active_page].hwndPage;
@ -1052,6 +1053,7 @@ static BOOL PROPSHEET_Next(HWND hwndDlg)
PropSheetInfo* psInfo = (PropSheetInfo*) GetPropA(hwndDlg,
PropSheetInfoStr);
hdr.hwndFrom = hwndDlg;
hdr.code = PSN_WIZNEXT;
hwndPage = psInfo->proppage[psInfo->active_page].hwndPage;
@ -1082,6 +1084,7 @@ static BOOL PROPSHEET_Finish(HWND hwndDlg)
PropSheetInfo* psInfo = (PropSheetInfo*) GetPropA(hwndDlg,
PropSheetInfoStr);
hdr.hwndFrom = hwndDlg;
hdr.code = PSN_WIZFINISH;
hwndPage = psInfo->proppage[psInfo->active_page].hwndPage;