Do not send two PSN_KILLACTIVE messages.

This commit is contained in:
Pierre Mageau 1999-10-31 01:40:28 +00:00 committed by Alexandre Julliard
parent 113329136e
commit 86c507d606
1 changed files with 0 additions and 8 deletions

View File

@ -1327,17 +1327,9 @@ static BOOL PROPSHEET_SetCurSel(HWND hwndDlg,
HWND hwndHelp = GetDlgItem(hwndDlg, IDHELP);
NMHDR hdr;
/*
* Notify the current page.
*/
hwndPage = psInfo->proppage[psInfo->active_page].hwndPage;
hdr.hwndFrom = hwndDlg;
hdr.code = PSN_KILLACTIVE;
if (SendMessageA(hwndPage, WM_NOTIFY, 0, (LPARAM) &hdr))
return FALSE;
/*
* hpage takes precedence over index.
*/