Zhiyi Zhang (@zhiyi) commented about dlls/comctl32/tests/propsheet.c:
- psh.dwFlags = PSH_PROPSHEETPAGE | PSH_MODELESS;
- psh.hwndParent = GetDesktopWindow();
- psh.pszCaption = "test caption";
- psh.nPages = sizeof(psp) / sizeof(PROPSHEETPAGEA);
- psh.ppsp = (LPCPROPSHEETPAGEA)&psp;
- hp = (HWND)pPropertySheetA(&psh);
- hwnd_page = (HWND)SendMessageA(hp, PSM_INDEXTOHWND, 0, 0);
- todo_wine ok(hwnd_page != NULL, "Page 0 not created.\n");
- hwnd_page = (HWND)SendMessageA(hp, PSM_INDEXTOHWND, 1, 0);
- todo_wine ok(hwnd_page == NULL, "Page 1 not created.\n");
- hwnd_page = (HWND)SendMessageA(hp, PSM_INDEXTOHWND, 2, 0);
- todo_wine ok(hwnd_page != NULL, "Page 2 not created.\n");
Same here.