Zhiyi Zhang (@zhiyi) commented about dlls/comctl32/tests/propsheet.c:
- psp[1].pszIcon = NULL;
- psp[1].pfnDlgProc = (DLGPROC) TestDlgProc;
- psp[1].pszTitle = "Page2";
- psp[1].lParam = 0;
- psh.dwSize = sizeof(PROPSHEETHEADERA);
- psh.dwFlags = PSH_PROPSHEETPAGE | PSH_MODELESS;
- psh.hwndParent = GetDesktopWindow();
- psh.pszCaption = "Modeless Property Sheet";
- psh.nPages = sizeof(psp) / sizeof(PROPSHEETPAGEA);
- psh.ppsp = (LPCPROPSHEETPAGEA)&psp;
- hp = (HWND) pPropertySheetA(&psh);
- tab_ctrl = (HWND)SendMessageA(hp, PSM_GETTABCONTROL, 0, 0);
- //Test PSN_QUERYINITIALFOCUS gets sent on start
Please use /**/ instead of //