Commit in reactos/w32api/include on MAIN
prsht.h+341.2 -> 1.3
Add some property sheet messages

reactos/w32api/include
prsht.h 1.2 -> 1.3
diff -u -r1.2 -r1.3
--- prsht.h	30 Jun 2004 10:49:18 -0000	1.2
+++ prsht.h	8 Aug 2004 20:02:57 -0000	1.3
@@ -8,6 +8,14 @@
 extern "C" {
 #endif
 
+#ifndef SNDMSG
+#ifdef __cplusplus
+#define SNDMSG ::SendMessage
+#else
+#define SNDMSG SendMessage
+#endif
+#endif /* ifndef SNDMSG */
+
 #define MAXPROPPAGES	100
 #define PSP_DEFAULT	0
 #define PSP_DLGINDIRECT	1
@@ -65,11 +73,33 @@
 #endif /* _WIN32_IE >= 0x560 */
 #define PSM_GETTABCONTROL	1140
 #define PSM_GETCURRENTPAGEHWND	1142
+#if (_WIN32_IE >= 0x0500)
+#define PSM_GETRESULT	1159
+#define PropSheet_GetResult(hDlg)	SNDMSG(hDlg, PSM_GETRESULT, 0, 0)
+#define PSM_HWNDTOINDEX	1153
+#define PSM_IDTOINDEX	1157
+#define PSM_INDEXTOHWND	1154
+#define PSM_INDEXTOID	1158
+#define PSM_INDEXTOPAGE	1156
+#define PSM_INSERTPAGE	1143
+#endif /* _WIN32_IE >= 0x0500 */
 #define PSM_ISDIALOGMESSAGE	1141
+#if (_WIN32_IE >= 0x0500)
+#define PSM_PAGETOINDEX	1155
+#endif /* _WIN32_IE >= 0x0500 */
 #define PSM_PRESSBUTTON	1137
+#if (_WIN32_IE >= 0x0500)
+#define PSM_RECALCPAGESIZES	1160
+#endif /* _WIN32_IE >= 0x0500 */
 #define PSM_SETCURSELID	1138
 #define PSM_SETFINISHTEXTW	1145
 #define PSM_SETFINISHTEXTA	1139
+#if (_WIN32_IE >= 0x0500)
+#define PSM_SETHEADERTITLEA	1149
+#define PSM_SETHEADERTITLEW	1150
+#define PSM_SETHEADERSUBTITLEA	1151
+#define PSM_SETHEADERSUBTITLEW	1152
+#endif
 #define PSN_FIRST	(-200)
 #define PSN_LAST	(-299)
 #define PSN_APPLY	(-202)
@@ -286,6 +316,8 @@
 #define LPCPROPSHEETHEADER	LPCPROPSHEETHEADERW
 #define PSM_SETTITLE PSM_SETTITLEW
 #define PSM_SETFINISHTEXT PSM_SETFINISHTEXTW
+#define PSM_SETHEADERTITLE PSM_SETHEADERTITLEW
+#define PSM_SETHEADERSUBTITLE PSM_SETHEADERSUBTITLEW
 #define CreatePropertySheetPage CreatePropertySheetPageW
 #define PropertySheet PropertySheetW
 #else
@@ -298,6 +330,8 @@
 #define LPCPROPSHEETHEADER	LPCPROPSHEETHEADERA
 #define PSM_SETTITLE PSM_SETTITLEA
 #define PSM_SETFINISHTEXT PSM_SETFINISHTEXTA
+#define PSM_SETHEADERTITLE PSM_SETHEADERTITLEA
+#define PSM_SETHEADERSUBTITLE PSM_SETHEADERSUBTITLEA
 #define CreatePropertySheetPage CreatePropertySheetPageA
 #define PropertySheet PropertySheetA
 #endif
CVSspam 0.2.8