Zhiyi Zhang (@zhiyi) commented about dlls/comctl32/tests/propsheet.c:
- 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
- ok(query_initial_focus, "Did not recieve PSN_QUERYINITIALFOCUS on start.\n");
- query_initial_focus = 0;
- //Test changing of tabs
- ok(tab_ctrl != 0, "Could not test changing tabs. No tab control found.\n");
- if(tab_ctrl)
- {
SendMessageA(tab_ctrl, TCM_GETITEMRECT, 1, (LPARAM) &rc);
lp = MAKELPARAM(rc.left + ((rc.right-rc.left)/2), rc.top + ((rc.bottom-rc.top)/2));
Add spaces before and after '-' and '/'