_WIN32_IE flag and common controls...
Nirmal Prasad
nprasad@truept.com
Sun Mar 21 08:44:00 GMT 1999
hi there,
Please let me know what to do about the _WIN32_IE flag.. its bothering me a
lot....Also i have put in the defines for updown and status bar control.
[Messages.h]
/* Up-Down Control */
#if (_WIN32_IE >= 0x0400) /* IE4.0 ??? */
#define UDM_SETRANGE32 (1135)
#define UDM_GETRANGE32 (1136)
#endif
/* Status Bar Control stuff */
#define SB_SETBKCOLOR (0x2001)
#if (_WIN32_IE >= 0x0300)
#define SB_ISSIMPLE (1038)
#endif
#if (_WIN32_IE >= 0x0400)
#define SB_SETICON (1039)
#define SB_SETTIPTEXTA (1040)
#define SB_SETTIPTEXTW (1041)
#define SB_GETTIPTEXTA (1042)
#define SB_GETTIPTEXTW (1043)
#define SB_GETICON (1044)
#define SB_SETUNICODEFORMAT (0x2005) /* Need to define the new Pager
control etc... */
#define SB_GETUNICODEFORMAT (0x2006)
#ifdef UNICODE
#define SB_SETTIPTEXT SB_SETTIPTEXTW
#define SB_GETTIPTEXT SB_GETTIPTEXTW
#else
#define SB_SETTIPTEXT SB_SETTIPTEXTA
#define SB_GETTIPTEXT SB_GETTIPTEXTA
#endif /* Unicode */
[Defines.h]
/* Status Bar Additions */
#if (_WIN32_IE >= 0x0400)
#define SBT_TOOLTIPS 0x0800
#endif
Regards
Nirmal Prasad R.
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
More information about the Cygwin
mailing list