4 * Copyright 1998 Francis Beaudet
7 * - All the functions are simply stubs
14 #include "propsheet.h"
20 PROPSHEET_WindowProc (HWND32 hwnd
, UINT32 uMsg
, WPARAM32 wParam
, LPARAM lParam
);
28 /*****************************************************************
29 * PropertySheet32A (COMCTL32.84)(COMCTL32.83)
31 INT32 WINAPI
PropertySheet32A(LPCPROPSHEETHEADER32A lppsh
)
35 FIXME(propsheet
, "(%p): stub\n", lppsh
);
37 if (lppsh
->dwFlags
& PSH_MODELESS
) {
38 hwnd
= CreateDialogParam32A ( lppsh
->hInstance
, WC_PROPSHEET32A
,
39 lppsh
->hwndParent
, (DLGPROC32
)PROPSHEET_WindowProc
,
41 ShowWindow32 (hwnd
, TRUE
);
43 hwnd
= DialogBoxParam32A ( lppsh
->hInstance
, WC_PROPSHEET32A
,
44 lppsh
->hwndParent
, (DLGPROC32
)PROPSHEET_WindowProc
,
50 /*****************************************************************
51 * PropertySheet32W (COMCTL32.85)
53 INT32 WINAPI
PropertySheet32W(LPCPROPSHEETHEADER32W propertySheetHeader
)
55 FIXME(propsheet
, "(%p): stub\n", propertySheetHeader
);
64 /*****************************************************************
65 * CreatePropertySheetPage32A (COMCTL32.19)(COMCTL32.18)
67 HPROPSHEETPAGE WINAPI
CreatePropertySheetPage32A(LPCPROPSHEETPAGE32A lpPropSheetPage
)
69 FIXME(propsheet
, "(%p): stub\n", lpPropSheetPage
);
74 /*****************************************************************
75 * CreatePropertySheetPage32W (COMCTL32.20)
77 HPROPSHEETPAGE WINAPI
CreatePropertySheetPage32W(LPCPROPSHEETPAGE32W lpPropSheetPage
)
79 FIXME(propsheet
, "(%p): stub\n", lpPropSheetPage
);
84 /*****************************************************************
85 * DestroyPropertySheetPage32 (COMCTL32.24)
87 BOOL32 WINAPI
DestroyPropertySheetPage32(HPROPSHEETPAGE hPropPage
)
89 FIXME(propsheet
, "(0x%08lx): stub\n", (DWORD
)hPropPage
);
96 PROPSHEET_WindowProc (HWND32 hwnd
, UINT32 uMsg
, WPARAM32 wParam
, LPARAM lParam
)
98 /* WND *wndPtr = WIN_FindWndPtr(hwnd); */
102 FIXME (propsheet
, "Unimplemented msg PSM_SETCURSEL\n");
105 FIXME (propsheet
, "Unimplemented msg PSM_REMOVEPAGE\n");
108 FIXME (propsheet
, "Unimplemented msg PSM_ADDPAGE\n");
111 FIXME (propsheet
, "Unimplemented msg PSM_CHANGED\n");
113 case PSM_RESTARTWINDOWS
:
114 FIXME (propsheet
, "Unimplemented msg PSM_RESTARTWINDOWS\n");
116 case PSM_REBOOTSYSTEM
:
117 FIXME (propsheet
, "Unimplemented msg PSM_REBOOTSYSTEM\n");
119 case PSM_CANCELTOCLOSE
:
120 FIXME (propsheet
, "Unimplemented msg PSM_CANCELTOCLOSE\n");
122 case PSM_QUERYSIBLINGS
:
123 FIXME (propsheet
, "Unimplemented msg PSM_QUERYSIBLINGS\n");
126 FIXME (propsheet
, "Unimplemented msg PSM_UNCHANGED\n");
129 FIXME (propsheet
, "Unimplemented msg PSM_APPLY\n");
131 case PSM_SETTITLE32A
:
132 FIXME (propsheet
, "Unimplemented msg PSM_SETTITLE32A\n");
134 case PSM_SETTITLE32W
:
135 FIXME (propsheet
, "Unimplemented msg PSM_SETTITLE32W\n");
137 case PSM_SETWIZBUTTONS
:
138 FIXME (propsheet
, "Unimplemented msg PSM_SETWIZBUTTONS\n");
140 case PSM_PRESSBUTTON
:
141 FIXME (propsheet
, "Unimplemented msg PSM_PRESSBUTTON\n");
143 case PSM_SETCURSELID
:
144 FIXME (propsheet
, "Unimplemented msg PSM_SETCURSELID\n");
146 case PSM_SETFINISHTEXT32A
:
147 FIXME (propsheet
, "Unimplemented msg PSM_SETFINISHTEXT32A\n");
149 case PSM_SETFINISHTEXT32W
:
150 FIXME (propsheet
, "Unimplemented msg PSM_SETFINISHTEXT32W\n");
152 case PSM_GETTABCONTROL
:
153 FIXME (propsheet
, "Unimplemented msg PSM_GETTABCONTROL\n");
155 case PSM_ISDIALOGMESSAGE
:
156 FIXME (propsheet
, "Unimplemented msg PSM_ISDIALOGMESSAGE\n");
158 case PSM_GETCURRENTPAGEHWND
:
159 FIXME (propsheet
, "Unimplemented msg PSM_GETCURRENTPAGEHWND\n");
164 ERR (propsheet
, "unknown msg %04x wp=%08x lp=%08lx\n",
165 uMsg
, wParam
, lParam
);
166 return DefWindowProc32A (hwnd
, uMsg
, wParam
, lParam
);
172 PROPSHEET_Register (VOID
)
174 WNDCLASS32A wndClass
;
176 if (GlobalFindAtom32A (WC_PROPSHEET32A
)) return;
178 ZeroMemory (&wndClass
, sizeof(WNDCLASS32A
));
179 wndClass
.style
= CS_GLOBALCLASS
| CS_DBLCLKS
| CS_SAVEBITS
;
180 wndClass
.lpfnWndProc
= (WNDPROC32
)PROPSHEET_WindowProc
;
181 wndClass
.cbClsExtra
= 0;
182 wndClass
.cbWndExtra
= sizeof(PROPSHEET_INFO
*);
183 wndClass
.hCursor
= LoadCursor32A (0, IDC_ARROW32A
);
184 wndClass
.hbrBackground
= 0;
185 wndClass
.lpszClassName
= WC_PROPSHEET32A
;
187 RegisterClass32A (&wndClass
);
192 PROPSHEET_UnRegister (VOID
)
194 if (GlobalFindAtom32A (WC_PROPSHEET32A
))
195 UnregisterClass32A (WC_PROPSHEET32A
, (HINSTANCE32
)NULL
);