Commit 0d9f93ab authored by Robert Shearman's avatar Robert Shearman Committed by Alexandre Julliard

Implemented PSM_HWNDTOINDEX.

parent 250c7c08
...@@ -2539,7 +2539,18 @@ static void PROPSHEET_SetHeaderSubTitleA(HWND hwndDlg, int iPageIndex, LPCSTR ps ...@@ -2539,7 +2539,18 @@ static void PROPSHEET_SetHeaderSubTitleA(HWND hwndDlg, int iPageIndex, LPCSTR ps
*/ */
static LRESULT PROPSHEET_HwndToIndex(HWND hwndDlg, HWND hPageDlg) static LRESULT PROPSHEET_HwndToIndex(HWND hwndDlg, HWND hPageDlg)
{ {
FIXME("(%p, %p): stub\n", hwndDlg, hPageDlg); int index;
PropSheetInfo * psInfo = (PropSheetInfo*) GetPropW(hwndDlg,
PropSheetInfoStr);
TRACE("(%p, %p)\n", hwndDlg, hPageDlg);
for (index = 0; index < psInfo->nPages; index++)
if (psInfo->proppage[index].hwndPage == hPageDlg)
return index;
WARN("%p not found\n", hPageDlg);
return -1; return -1;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment