#define LVM_SETUNICODEFORMAT 0x2005
#endif
+
// ----------------------------------------------------------------------------
// Toolbar define value missing
// ----------------------------------------------------------------------------
#define OFN_ENABLESIZING 0x00800000
#endif
+// ------------------ For Flashing Window -------------
+#if (defined(__BORLANDC__) && (__BORLANDC__ < 550))
+typedef struct {
+ UINT cbSize;
+ HWND hwnd;
+ DWORD dwFlags;
+ UINT uCount;
+ DWORD dwTimeout;
+} FLASHWINFO, *PFLASHWINFO;
+#endif
+
// In addition, include stuff not defined in WinCE
#ifdef __WXWINCE__
#include "wx/msw/wince/missing.h"
// check if we can use FlashWindowEx(): unfortunately an explicit test for
// FLASHW_STOP, for example, doesn't work because MSVC6 headers do #define
// it but don't provide FlashWindowEx() declaration
-#if WINVER >= 0x0500
+#if (WINVER >= 0x0500 && (defined FLASHW_STOP))
// available in the headers, check if it is supported by the system
typedef BOOL (WINAPI *FlashWindowEx_t)(FLASHWINFO *pfwi);
FlashWindowEx_t s_pfnFlashWindowEx = NULL;