4 * Copyright 1998 Francis Beaudet
7 * - All the functions are simply stubs
13 #include "propsheet.h"
19 PROPSHEET_WindowProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
27 /*****************************************************************
28 * PropertySheet32A (COMCTL32.84)(COMCTL32.83)
30 INT WINAPI PropertySheetA(LPCPROPSHEETHEADERA lppsh)
34 FIXME(propsheet, "(%p): stub\n", lppsh);
36 if (lppsh->dwFlags & PSH_MODELESS) {
37 hwnd = CreateDialogParamA ( lppsh->hInstance, WC_PROPSHEETA,
38 lppsh->hwndParent, (DLGPROC)PROPSHEET_WindowProc,
40 ShowWindow (hwnd, TRUE);
42 hwnd = DialogBoxParamA ( lppsh->hInstance, WC_PROPSHEETA,
43 lppsh->hwndParent, (DLGPROC)PROPSHEET_WindowProc,
49 /*****************************************************************
50 * PropertySheet32W (COMCTL32.85)
52 INT WINAPI PropertySheetW(LPCPROPSHEETHEADERW propertySheetHeader)
54 FIXME(propsheet, "(%p): stub\n", propertySheetHeader);
63 /*****************************************************************
64 * CreatePropertySheetPage32A (COMCTL32.19)(COMCTL32.18)
66 HPROPSHEETPAGE WINAPI CreatePropertySheetPageA(LPCPROPSHEETPAGEA lpPropSheetPage)
68 FIXME(propsheet, "(%p): stub\n", lpPropSheetPage);
73 /*****************************************************************
74 * CreatePropertySheetPage32W (COMCTL32.20)
76 HPROPSHEETPAGE WINAPI CreatePropertySheetPageW(LPCPROPSHEETPAGEW lpPropSheetPage)
78 FIXME(propsheet, "(%p): stub\n", lpPropSheetPage);
83 /*****************************************************************
84 * DestroyPropertySheetPage32 (COMCTL32.24)
86 BOOL WINAPI DestroyPropertySheetPage(HPROPSHEETPAGE hPropPage)
88 FIXME(propsheet, "(0x%08lx): stub\n", (DWORD)hPropPage);
95 PROPSHEET_WindowProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
97 /* WND *wndPtr = WIN_FindWndPtr(hwnd); */
101 FIXME (propsheet, "Unimplemented msg PSM_SETCURSEL\n");
104 FIXME (propsheet, "Unimplemented msg PSM_REMOVEPAGE\n");
107 FIXME (propsheet, "Unimplemented msg PSM_ADDPAGE\n");
110 FIXME (propsheet, "Unimplemented msg PSM_CHANGED\n");
112 case PSM_RESTARTWINDOWS:
113 FIXME (propsheet, "Unimplemented msg PSM_RESTARTWINDOWS\n");
115 case PSM_REBOOTSYSTEM:
116 FIXME (propsheet, "Unimplemented msg PSM_REBOOTSYSTEM\n");
118 case PSM_CANCELTOCLOSE:
119 FIXME (propsheet, "Unimplemented msg PSM_CANCELTOCLOSE\n");
121 case PSM_QUERYSIBLINGS:
122 FIXME (propsheet, "Unimplemented msg PSM_QUERYSIBLINGS\n");
125 FIXME (propsheet, "Unimplemented msg PSM_UNCHANGED\n");
128 FIXME (propsheet, "Unimplemented msg PSM_APPLY\n");
131 FIXME (propsheet, "Unimplemented msg PSM_SETTITLE32A\n");
134 FIXME (propsheet, "Unimplemented msg PSM_SETTITLE32W\n");
136 case PSM_SETWIZBUTTONS:
137 FIXME (propsheet, "Unimplemented msg PSM_SETWIZBUTTONS\n");
139 case PSM_PRESSBUTTON:
140 FIXME (propsheet, "Unimplemented msg PSM_PRESSBUTTON\n");
142 case PSM_SETCURSELID:
143 FIXME (propsheet, "Unimplemented msg PSM_SETCURSELID\n");
145 case PSM_SETFINISHTEXTA:
146 FIXME (propsheet, "Unimplemented msg PSM_SETFINISHTEXT32A\n");
148 case PSM_SETFINISHTEXTW:
149 FIXME (propsheet, "Unimplemented msg PSM_SETFINISHTEXT32W\n");
151 case PSM_GETTABCONTROL:
152 FIXME (propsheet, "Unimplemented msg PSM_GETTABCONTROL\n");
154 case PSM_ISDIALOGMESSAGE:
155 FIXME (propsheet, "Unimplemented msg PSM_ISDIALOGMESSAGE\n");
157 case PSM_GETCURRENTPAGEHWND:
158 FIXME (propsheet, "Unimplemented msg PSM_GETCURRENTPAGEHWND\n");
163 ERR (propsheet, "unknown msg %04x wp=%08x lp=%08lx\n",
164 uMsg, wParam, lParam);
165 return DefWindowProcA (hwnd, uMsg, wParam, lParam);
171 PROPSHEET_Register (VOID)
175 if (GlobalFindAtomA (WC_PROPSHEETA)) return;
177 ZeroMemory (&wndClass, sizeof(WNDCLASSA));
178 wndClass.style = CS_GLOBALCLASS | CS_DBLCLKS | CS_SAVEBITS;
179 wndClass.lpfnWndProc = (WNDPROC)PROPSHEET_WindowProc;
180 wndClass.cbClsExtra = 0;
181 wndClass.cbWndExtra = sizeof(PROPSHEET_INFO *);
182 wndClass.hCursor = LoadCursorA (0, IDC_ARROWA);
183 wndClass.hbrBackground = 0;
184 wndClass.lpszClassName = WC_PROPSHEETA;
186 RegisterClassA (&wndClass);
191 PROPSHEET_UnRegister (VOID)
193 if (GlobalFindAtomA (WC_PROPSHEETA))
194 UnregisterClassA (WC_PROPSHEETA, (HINSTANCE)NULL);