#define EM_SETUSEMOUSEFORINPUT (WM_USER + 0x224)
#endif
+#ifndef TPM_RECURSE
+#define TPM_RECURSE 1
+#endif
+
// ----------------------------------------------------------------------------
// ListView common control
// Needed by listctrl.cpp
#define LVS_EX_SUBITEMIMAGES 0x00000002
#endif
+#ifndef HDN_GETDISPINFOW
+ #define HDN_GETDISPINFOW (HDN_FIRST-29)
+#endif
+
/*
* In addition to the above, the following are required for several compilers.
*/
#ifdef __DMC__
-#ifdef __DMC__
- #ifndef _TrackMouseEvent
- #define _TrackMouseEvent TrackMouseEvent
- #endif
+typedef struct _OSVERSIONINFOEX {
+ DWORD dwOSVersionInfoSize;
+ DWORD dwMajorVersion;
+ DWORD dwMinorVersion;
+ DWORD dwBuildNumber;
+ DWORD dwPlatformId;
+ TCHAR szCSDVersion[ 128 ];
+ WORD wServicePackMajor;
+ WORD wServicePackMinor;
+ WORD wSuiteMask;
+ BYTE wProductType;
+ BYTE wReserved;
+} OSVERSIONINFOEX;
+
+#ifndef _TrackMouseEvent
+ #define _TrackMouseEvent TrackMouseEvent
#endif
#ifndef LVM_SETEXTENDEDLISTVIEWSTYLE
#define HDM_GETITEMRECT (HDM_FIRST+7)
#endif
-#ifndef HDN_GETDISPINFOW
- #define HDN_GETDISPINFOW (HDN_FIRST-29)
-#endif
-
#ifndef ListView_GetHeader
#define ListView_GetHeader(w) (HWND)SendMessage((w),LVM_GETHEADER,0,0)
#endif
#define LVSICF_NOSCROLL 0x0002
#endif
+#ifndef CP_SYMBOL
+ #define CP_SYMBOL 42
+#endif
+
// ----------------------------------------------------------------------------
// Tree control
// ----------------------------------------------------------------------------