| 1 | /* $Id: prsht.h,v 1.8 2003-05-15 14:21:06 sandervl Exp $ */
|
|---|
| 2 |
|
|---|
| 3 | #ifndef _WINE_PRSHT_H
|
|---|
| 4 | #define _WINE_PRSHT_H
|
|---|
| 5 |
|
|---|
| 6 | #include "winuser.h"
|
|---|
| 7 |
|
|---|
| 8 | #ifdef __cplusplus
|
|---|
| 9 | extern "C" {
|
|---|
| 10 | #endif
|
|---|
| 11 |
|
|---|
| 12 |
|
|---|
| 13 | /*
|
|---|
| 14 | * Property sheet support (callback procs)
|
|---|
| 15 | */
|
|---|
| 16 |
|
|---|
| 17 |
|
|---|
| 18 | #define WC_PROPSHEETA "SysPropertySheet"
|
|---|
| 19 | #define WC_PROPSHEETW L"SysPropertySheet"
|
|---|
| 20 | #define WC_PROPSHEET WINELIB_NAME_AW(WC_PROPSHEET)
|
|---|
| 21 |
|
|---|
| 22 | struct _PROPSHEETPAGEA; /** need to forward declare those structs **/
|
|---|
| 23 | struct _PROPSHEETPAGEW;
|
|---|
| 24 | struct _PSP;
|
|---|
| 25 | typedef struct _PSP *HPROPSHEETPAGE;
|
|---|
| 26 |
|
|---|
| 27 |
|
|---|
| 28 | typedef UINT (* CALLBACK LPFNPSPCALLBACKA)(HWND, UINT, struct _PROPSHEETPAGEA*);
|
|---|
| 29 | typedef UINT (* CALLBACK LPFNPSPCALLBACKW)(HWND, UINT, struct _PROPSHEETPAGEW*);
|
|---|
| 30 | typedef INT (* CALLBACK PFNPROPSHEETCALLBACK)(HWND, UINT, LPARAM);
|
|---|
| 31 | typedef BOOL (* CALLBACK LPFNADDPROPSHEETPAGE)(HPROPSHEETPAGE, LPARAM);
|
|---|
| 32 | typedef BOOL (* CALLBACK LPFNADDPROPSHEETPAGES)(LPVOID, LPFNADDPROPSHEETPAGE, LPARAM);
|
|---|
| 33 |
|
|---|
| 34 | /* c++ likes nameless unions whereas c doesnt */
|
|---|
| 35 | /* (used in property sheet structures) */
|
|---|
| 36 |
|
|---|
| 37 | /*
|
|---|
| 38 | * Property sheet support (structures)
|
|---|
| 39 | */
|
|---|
| 40 | typedef struct _PROPSHEETPAGEA
|
|---|
| 41 | {
|
|---|
| 42 | DWORD dwSize;
|
|---|
| 43 | DWORD dwFlags;
|
|---|
| 44 | HINSTANCE hInstance;
|
|---|
| 45 | union
|
|---|
| 46 | {
|
|---|
| 47 | LPCSTR pszTemplate;
|
|---|
| 48 | LPCDLGTEMPLATEA pResource;
|
|---|
| 49 | }DUMMYUNIONNAME;
|
|---|
| 50 | union
|
|---|
| 51 | {
|
|---|
| 52 | HICON hIcon;
|
|---|
| 53 | LPCSTR pszIcon;
|
|---|
| 54 | }DUMMYUNIONNAME2;
|
|---|
| 55 | LPCSTR pszTitle;
|
|---|
| 56 | DLGPROC pfnDlgProc;
|
|---|
| 57 | LPARAM lParam;
|
|---|
| 58 | LPFNPSPCALLBACKA pfnCallback;
|
|---|
| 59 | UINT* pcRefParent;
|
|---|
| 60 | LPCSTR pszHeaderTitle;
|
|---|
| 61 | LPCSTR pszHeaderSubTitle;
|
|---|
| 62 | } PROPSHEETPAGEA, *LPPROPSHEETPAGEA;
|
|---|
| 63 |
|
|---|
| 64 | typedef const PROPSHEETPAGEA *LPCPROPSHEETPAGEA;
|
|---|
| 65 |
|
|---|
| 66 | typedef struct _PROPSHEETPAGEW
|
|---|
| 67 | {
|
|---|
| 68 | DWORD dwSize;
|
|---|
| 69 | DWORD dwFlags;
|
|---|
| 70 | HINSTANCE hInstance;
|
|---|
| 71 | union
|
|---|
| 72 | {
|
|---|
| 73 | LPCWSTR pszTemplate;
|
|---|
| 74 | LPCDLGTEMPLATEW pResource;
|
|---|
| 75 | }DUMMYUNIONNAME;
|
|---|
| 76 | union
|
|---|
| 77 | {
|
|---|
| 78 | HICON hIcon;
|
|---|
| 79 | LPCWSTR pszIcon;
|
|---|
| 80 | }DUMMYUNIONNAME2;
|
|---|
| 81 | LPCWSTR pszTitle;
|
|---|
| 82 | DLGPROC pfnDlgProc;
|
|---|
| 83 | LPARAM lParam;
|
|---|
| 84 | LPFNPSPCALLBACKW pfnCallback;
|
|---|
| 85 | UINT* pcRefParent;
|
|---|
| 86 | LPCWSTR pszHeaderTitle;
|
|---|
| 87 | LPCWSTR pszHeaderSubTitle;
|
|---|
| 88 | } PROPSHEETPAGEW, *LPPROPSHEETPAGEW;
|
|---|
| 89 |
|
|---|
| 90 | typedef const PROPSHEETPAGEW *LPCPROPSHEETPAGEW;
|
|---|
| 91 |
|
|---|
| 92 |
|
|---|
| 93 | typedef struct _PROPSHEETHEADERA
|
|---|
| 94 | {
|
|---|
| 95 | DWORD dwSize;
|
|---|
| 96 | DWORD dwFlags;
|
|---|
| 97 | HWND hwndParent;
|
|---|
| 98 | HINSTANCE hInstance;
|
|---|
| 99 | union
|
|---|
| 100 | {
|
|---|
| 101 | HICON hIcon;
|
|---|
| 102 | LPCSTR pszIcon;
|
|---|
| 103 | }DUMMYUNIONNAME;
|
|---|
| 104 | LPCSTR pszCaption;
|
|---|
| 105 | UINT nPages;
|
|---|
| 106 | union
|
|---|
| 107 | {
|
|---|
| 108 | UINT nStartPage;
|
|---|
| 109 | LPCSTR pStartPage;
|
|---|
| 110 | }DUMMYUNIONNAME2;
|
|---|
| 111 | union
|
|---|
| 112 | {
|
|---|
| 113 | LPCPROPSHEETPAGEA ppsp;
|
|---|
| 114 | HPROPSHEETPAGE* phpage;
|
|---|
| 115 | }DUMMYUNIONNAME3;
|
|---|
| 116 | PFNPROPSHEETCALLBACK pfnCallback;
|
|---|
| 117 | union
|
|---|
| 118 | {
|
|---|
| 119 | HBITMAP hbmWatermark;
|
|---|
| 120 | LPCSTR pszbmWatermark;
|
|---|
| 121 | }DUMMYUNIONNAME4;
|
|---|
| 122 | HPALETTE hplWatermark;
|
|---|
| 123 | union
|
|---|
| 124 | {
|
|---|
| 125 | HBITMAP hbmHeader;
|
|---|
| 126 | LPCSTR pszbmHeader;
|
|---|
| 127 | }DUMMYUNIONNAME5;
|
|---|
| 128 | } PROPSHEETHEADERA, *LPPROPSHEETHEADERA;
|
|---|
| 129 |
|
|---|
| 130 | typedef const PROPSHEETHEADERA *LPCPROPSHEETHEADERA;
|
|---|
| 131 |
|
|---|
| 132 | typedef struct _PROPSHEETHEADERW
|
|---|
| 133 | {
|
|---|
| 134 | DWORD dwSize;
|
|---|
| 135 | DWORD dwFlags;
|
|---|
| 136 | HWND hwndParent;
|
|---|
| 137 | HINSTANCE hInstance;
|
|---|
| 138 | union
|
|---|
| 139 | {
|
|---|
| 140 | HICON hIcon;
|
|---|
| 141 | LPCWSTR pszIcon;
|
|---|
| 142 | }DUMMYUNIONNAME;
|
|---|
| 143 | LPCWSTR pszCaption;
|
|---|
| 144 | UINT nPages;
|
|---|
| 145 | union
|
|---|
| 146 | {
|
|---|
| 147 | UINT nStartPage;
|
|---|
| 148 | LPCWSTR pStartPage;
|
|---|
| 149 | }DUMMYUNIONNAME2;
|
|---|
| 150 | union
|
|---|
| 151 | {
|
|---|
| 152 | LPCPROPSHEETPAGEW ppsp;
|
|---|
| 153 | HPROPSHEETPAGE* phpage;
|
|---|
| 154 | }DUMMYUNIONNAME3;
|
|---|
| 155 | PFNPROPSHEETCALLBACK pfnCallback;
|
|---|
| 156 | union
|
|---|
| 157 | {
|
|---|
| 158 | HBITMAP hbmWatermark;
|
|---|
| 159 | LPCWSTR pszbmWatermark;
|
|---|
| 160 | }DUMMYUNIONNAME4;
|
|---|
| 161 | HPALETTE hplWatermark;
|
|---|
| 162 | union
|
|---|
| 163 | {
|
|---|
| 164 | HBITMAP hbmHeader;
|
|---|
| 165 | LPCWSTR pszbmHeader;
|
|---|
| 166 | }DUMMYUNIONNAME5;
|
|---|
| 167 | } PROPSHEETHEADERW, *LPPROPSHEETHEADERW;
|
|---|
| 168 |
|
|---|
| 169 | typedef const PROPSHEETHEADERW *LPCPROPSHEETHEADERW;
|
|---|
| 170 |
|
|---|
| 171 |
|
|---|
| 172 | /*
|
|---|
| 173 | * Property sheet support (methods)
|
|---|
| 174 | */
|
|---|
| 175 | INT WINAPI PropertySheetA(LPCPROPSHEETHEADERA);
|
|---|
| 176 | INT WINAPI PropertySheetW(LPCPROPSHEETHEADERW);
|
|---|
| 177 | #define PropertySheet WINELIB_NAME_AW(PropertySheet)
|
|---|
| 178 | HPROPSHEETPAGE WINAPI CreatePropertySheetPageA(LPCPROPSHEETPAGEA);
|
|---|
| 179 | HPROPSHEETPAGE WINAPI CreatePropertySheetPageW(LPCPROPSHEETPAGEW);
|
|---|
| 180 | #define CreatePropertySheetPage WINELIB_NAME_AW(CreatePropertySheetPage)
|
|---|
| 181 | BOOL WINAPI DestroyPropertySheetPage(HPROPSHEETPAGE hPropPage);
|
|---|
| 182 |
|
|---|
| 183 | /*
|
|---|
| 184 | * Property sheet support (UNICODE-WineLib)
|
|---|
| 185 | */
|
|---|
| 186 |
|
|---|
| 187 | DECL_WINELIB_TYPE_AW(PROPSHEETPAGE)
|
|---|
| 188 | DECL_WINELIB_TYPE_AW(LPPROPSHEETPAGE)
|
|---|
| 189 | DECL_WINELIB_TYPE_AW(LPCPROPSHEETPAGE)
|
|---|
| 190 | DECL_WINELIB_TYPE_AW(PROPSHEETHEADER)
|
|---|
| 191 | DECL_WINELIB_TYPE_AW(LPPROPSHEETHEADER)
|
|---|
| 192 | DECL_WINELIB_TYPE_AW(LPCPROPSHEETHEADER)
|
|---|
| 193 | DECL_WINELIB_TYPE_AW(LPFNPSPCALLBACK)
|
|---|
| 194 |
|
|---|
| 195 |
|
|---|
| 196 | /*
|
|---|
| 197 | * Property sheet support (defines)
|
|---|
| 198 | */
|
|---|
| 199 | #define PSP_DEFAULT 0x0000
|
|---|
| 200 | #define PSP_DLGINDIRECT 0x0001
|
|---|
| 201 | #define PSP_USEHICON 0x0002
|
|---|
| 202 | #define PSP_USEICONID 0x0004
|
|---|
| 203 | #define PSP_USETITLE 0x0008
|
|---|
| 204 | #define PSP_RTLREADING 0x0010
|
|---|
| 205 |
|
|---|
| 206 | #define PSP_HASHELP 0x0020
|
|---|
| 207 | #define PSP_USEREFPARENT 0x0040
|
|---|
| 208 | #define PSP_USECALLBACK 0x0080
|
|---|
| 209 | #define PSP_PREMATURE 0x0400
|
|---|
| 210 |
|
|---|
| 211 | #define PSP_HIDEHEADER 0x00000800
|
|---|
| 212 | #define PSP_USEHEADERTITLE 0x00001000
|
|---|
| 213 | #define PSP_USEHEADERSUBTITLE 0x00002000
|
|---|
| 214 |
|
|---|
| 215 | #define PSPCB_RELEASE 1
|
|---|
| 216 | #define PSPCB_CREATE 2
|
|---|
| 217 |
|
|---|
| 218 | #define PSH_DEFAULT 0x0000
|
|---|
| 219 | #define PSH_PROPTITLE 0x0001
|
|---|
| 220 | #define PSH_USEHICON 0x0002
|
|---|
| 221 | #define PSH_USEICONID 0x0004
|
|---|
| 222 | #define PSH_PROPSHEETPAGE 0x0008
|
|---|
| 223 | #define PSH_WIZARDHASFINISH 0x0010
|
|---|
| 224 | #define PSH_WIZARD 0x0020
|
|---|
| 225 | #define PSH_USEPSTARTPAGE 0x0040
|
|---|
| 226 | #define PSH_NOAPPLYNOW 0x0080
|
|---|
| 227 | #define PSH_USECALLBACK 0x0100
|
|---|
| 228 | #define PSH_HASHELP 0x0200
|
|---|
| 229 | #define PSH_MODELESS 0x0400
|
|---|
| 230 | #define PSH_RTLREADING 0x0800
|
|---|
| 231 | #define PSH_WIZARDCONTEXTHELP 0x00001000
|
|---|
| 232 |
|
|---|
| 233 | #define PSH_WIZARD97_OLD 0x00002000 /* for IE < 5 */
|
|---|
| 234 | #define PSH_WATERMARK 0x00008000
|
|---|
| 235 | #define PSH_USEHBMWATERMARK 0x00010000
|
|---|
| 236 | #define PSH_USEHPLWATERMARK 0x00020000
|
|---|
| 237 | #define PSH_STRETCHWATERMARK 0x00040000
|
|---|
| 238 | #define PSH_HEADER 0x00080000
|
|---|
| 239 | #define PSH_USEHBMHEADER 0x00100000
|
|---|
| 240 | #define PSH_USEPAGELANG 0x00200000
|
|---|
| 241 | #define PSH_WIZARD_LITE 0x00400000
|
|---|
| 242 | #define PSH_WIZARD97_NEW 0x01000000 /* for IE >= 5 */
|
|---|
| 243 | #define PSH_NOCONTEXTHELP 0x02000000
|
|---|
| 244 |
|
|---|
| 245 | #define PSCB_INITIALIZED 1
|
|---|
| 246 | #define PSCB_PRECREATE 2
|
|---|
| 247 |
|
|---|
| 248 | typedef struct _PSHNOTIFY
|
|---|
| 249 | {
|
|---|
| 250 | NMHDR hdr;
|
|---|
| 251 | LPARAM lParam;
|
|---|
| 252 | } PSHNOTIFY, *LPPSHNOTIFY;
|
|---|
| 253 |
|
|---|
| 254 | #define PSN_FIRST (0U-200U)
|
|---|
| 255 | #define PSN_LAST (0U-299U)
|
|---|
| 256 |
|
|---|
| 257 |
|
|---|
| 258 | #define PSN_SETACTIVE (PSN_FIRST-0)
|
|---|
| 259 | #define PSN_KILLACTIVE (PSN_FIRST-1)
|
|---|
| 260 | /* #define PSN_VALIDATE (PSN_FIRST-1) */
|
|---|
| 261 | #define PSN_APPLY (PSN_FIRST-2)
|
|---|
| 262 | #define PSN_RESET (PSN_FIRST-3)
|
|---|
| 263 | /* #define PSN_CANCEL (PSN_FIRST-3) */
|
|---|
| 264 | #define PSN_HELP (PSN_FIRST-5)
|
|---|
| 265 | #define PSN_WIZBACK (PSN_FIRST-6)
|
|---|
| 266 | #define PSN_WIZNEXT (PSN_FIRST-7)
|
|---|
| 267 | #define PSN_WIZFINISH (PSN_FIRST-8)
|
|---|
| 268 | #define PSN_QUERYCANCEL (PSN_FIRST-9)
|
|---|
| 269 |
|
|---|
| 270 | #define PSNRET_NOERROR 0
|
|---|
| 271 | #define PSNRET_INVALID 1
|
|---|
| 272 | #define PSNRET_INVALID_NOCHANGEPAGE 2
|
|---|
| 273 |
|
|---|
| 274 |
|
|---|
| 275 | #define PSM_SETCURSEL (WM_USER + 101)
|
|---|
| 276 | #define PSM_REMOVEPAGE (WM_USER + 102)
|
|---|
| 277 | #define PSM_ADDPAGE (WM_USER + 103)
|
|---|
| 278 | #define PSM_CHANGED (WM_USER + 104)
|
|---|
| 279 | #define PSM_RESTARTWINDOWS (WM_USER + 105)
|
|---|
| 280 | #define PSM_REBOOTSYSTEM (WM_USER + 106)
|
|---|
| 281 | #define PSM_CANCELTOCLOSE (WM_USER + 107)
|
|---|
| 282 | #define PSM_QUERYSIBLINGS (WM_USER + 108)
|
|---|
| 283 | #define PSM_UNCHANGED (WM_USER + 109)
|
|---|
| 284 | #define PSM_APPLY (WM_USER + 110)
|
|---|
| 285 | #define PSM_SETTITLEA (WM_USER + 111)
|
|---|
| 286 | #define PSM_SETTITLEW (WM_USER + 120)
|
|---|
| 287 | #define PSM_SETTITLE WINELIB_NAME_AW(PSM_SETTITLE)
|
|---|
| 288 | #define PSM_SETWIZBUTTONS (WM_USER + 112)
|
|---|
| 289 | #define PSM_PRESSBUTTON (WM_USER + 113)
|
|---|
| 290 | #define PSM_SETCURSELID (WM_USER + 114)
|
|---|
| 291 | #define PSM_SETFINISHTEXTA (WM_USER + 115)
|
|---|
| 292 | #define PSM_SETFINISHTEXTW (WM_USER + 121)
|
|---|
| 293 | #define PSM_SETFINISHTEXT WINELIB_NAME_AW(PSM_SETFINISHTEXT)
|
|---|
| 294 | #define PSM_GETTABCONTROL (WM_USER + 116)
|
|---|
| 295 | #define PSM_ISDIALOGMESSAGE (WM_USER + 117)
|
|---|
| 296 | #define PSM_GETCURRENTPAGEHWND (WM_USER + 118)
|
|---|
| 297 |
|
|---|
| 298 | #define PSWIZB_BACK 0x00000001
|
|---|
| 299 | #define PSWIZB_NEXT 0x00000002
|
|---|
| 300 | #define PSWIZB_FINISH 0x00000004
|
|---|
| 301 | #define PSWIZB_DISABLEDFINISH 0x00000008
|
|---|
| 302 |
|
|---|
| 303 | #define PSBTN_BACK 0
|
|---|
| 304 | #define PSBTN_NEXT 1
|
|---|
| 305 | #define PSBTN_FINISH 2
|
|---|
| 306 | #define PSBTN_OK 3
|
|---|
| 307 | #define PSBTN_APPLYNOW 4
|
|---|
| 308 | #define PSBTN_CANCEL 5
|
|---|
| 309 | #define PSBTN_HELP 6
|
|---|
| 310 | #define PSBTN_MAX 6
|
|---|
| 311 |
|
|---|
| 312 | #define ID_PSRESTARTWINDOWS 0x2
|
|---|
| 313 | #define ID_PSREBOOTSYSTEM (ID_PSRESTARTWINDOWS | 0x1)
|
|---|
| 314 |
|
|---|
| 315 |
|
|---|
| 316 | #define WIZ_CXDLG 276
|
|---|
| 317 | #define WIZ_CYDLG 140
|
|---|
| 318 |
|
|---|
| 319 | #define WIZ_CXBMP 80
|
|---|
| 320 |
|
|---|
| 321 | #define WIZ_BODYX 92
|
|---|
| 322 | #define WIZ_BODYCX 184
|
|---|
| 323 |
|
|---|
| 324 | #define PROP_SM_CXDLG 212
|
|---|
| 325 | #define PROP_SM_CYDLG 188
|
|---|
| 326 |
|
|---|
| 327 | #define PROP_MED_CXDLG 227
|
|---|
| 328 | #define PROP_MED_CYDLG 215
|
|---|
| 329 |
|
|---|
| 330 | #define PROP_LG_CXDLG 252
|
|---|
| 331 | #define PROP_LG_CYDLG 218
|
|---|
| 332 |
|
|---|
| 333 | /*
|
|---|
| 334 | * Property sheet support (macros)
|
|---|
| 335 | */
|
|---|
| 336 |
|
|---|
| 337 | #define PropSheet_SetCurSel(hDlg, hpage, index) \
|
|---|
| 338 | SendMessageA(hDlg, PSM_SETCURSEL, (WPARAM)index, (LPARAM)hpage)
|
|---|
| 339 |
|
|---|
| 340 | #define PropSheet_RemovePage(hDlg, index, hpage) \
|
|---|
| 341 | SNDMSG(hDlg, PSM_REMOVEPAGE, index, (LPARAM)hpage)
|
|---|
| 342 |
|
|---|
| 343 | #define PropSheet_AddPage(hDlg, hpage) \
|
|---|
| 344 | SNDMSG(hDlg, PSM_ADDPAGE, 0, (LPARAM)hpage)
|
|---|
| 345 |
|
|---|
| 346 | #define PropSheet_Changed(hDlg, hwnd) \
|
|---|
| 347 | SNDMSG(hDlg, PSM_CHANGED, (WPARAM)hwnd, 0L)
|
|---|
| 348 |
|
|---|
| 349 | #define PropSheet_RestartWindows(hDlg) \
|
|---|
| 350 | SNDMSG(hDlg, PSM_RESTARTWINDOWS, 0, 0L)
|
|---|
| 351 |
|
|---|
| 352 | #define PropSheet_RebootSystem(hDlg) \
|
|---|
| 353 | SNDMSG(hDlg, PSM_REBOOTSYSTEM, 0, 0L)
|
|---|
| 354 |
|
|---|
| 355 | #define PropSheet_CancelToClose(hDlg) \
|
|---|
| 356 | PostMessage(hDlg, PSM_CANCELTOCLOSE, 0, 0L)
|
|---|
| 357 |
|
|---|
| 358 | #define PropSheet_QuerySiblings(hDlg, wParam, lParam) \
|
|---|
| 359 | SNDMSG(hDlg, PSM_QUERYSIBLINGS, wParam, lParam)
|
|---|
| 360 |
|
|---|
| 361 | #define PropSheet_UnChanged(hDlg, hwnd) \
|
|---|
| 362 | SNDMSG(hDlg, PSM_UNCHANGED, (WPARAM)hwnd, 0L)
|
|---|
| 363 |
|
|---|
| 364 | #define PropSheet_Apply(hDlg) \
|
|---|
| 365 | SNDMSG(hDlg, PSM_APPLY, 0, 0L)
|
|---|
| 366 |
|
|---|
| 367 | #define PropSheet_SetTitle(hDlg, wStyle, lpszText)\
|
|---|
| 368 | SNDMSG(hDlg, PSM_SETTITLE, wStyle, (LPARAM)(LPCTSTR)lpszText)
|
|---|
| 369 |
|
|---|
| 370 | #define PropSheet_SetWizButtons(hDlg, dwFlags) \
|
|---|
| 371 | PostMessage(hDlg, PSM_SETWIZBUTTONS, 0, (LPARAM)dwFlags)
|
|---|
| 372 |
|
|---|
| 373 | #define PropSheet_PressButton(hDlg, iButton) \
|
|---|
| 374 | PostMessage(hDlg, PSM_PRESSBUTTON, (WPARAM)iButton, 0)
|
|---|
| 375 |
|
|---|
| 376 | #define PropSheet_SetCurSelByID(hDlg, id) \
|
|---|
| 377 | SNDMSG(hDlg, PSM_SETCURSELID, 0, (LPARAM)id)
|
|---|
| 378 |
|
|---|
| 379 | #define PropSheet_SetFinishText(hDlg, lpszText) \
|
|---|
| 380 | SNDMSG(hDlg, PSM_SETFINISHTEXT, 0, (LPARAM)lpszText)
|
|---|
| 381 |
|
|---|
| 382 | #define PropSheet_GetTabControl(hDlg) \
|
|---|
| 383 | (HWND)SNDMSG(hDlg, PSM_GETTABCONTROL, 0, 0)
|
|---|
| 384 |
|
|---|
| 385 | #define PropSheet_IsDialogMessage(hDlg, pMsg) \
|
|---|
| 386 | (BOOL)SNDMSG(hDlg, PSM_ISDIALOGMESSAGE, 0, (LPARAM)pMsg)
|
|---|
| 387 |
|
|---|
| 388 | #define PropSheet_GetCurrentPageHwnd(hDlg) \
|
|---|
| 389 | (HWND)SNDMSG(hDlg, PSM_GETCURRENTPAGEHWND, 0, 0L)
|
|---|
| 390 |
|
|---|
| 391 |
|
|---|
| 392 | #ifdef __cplusplus
|
|---|
| 393 | }
|
|---|
| 394 | #endif
|
|---|
| 395 |
|
|---|
| 396 |
|
|---|
| 397 |
|
|---|
| 398 | #endif /* _WINE_PRSHT_H */
|
|---|