delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/03/21/16:48:12

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <000701be73ba$510cfeb0$d96f1e26@np_home_pc>
From: "Nirmal Prasad" <nprasad AT truept DOT com>
To: <cygwin AT sourceware DOT cygnus DOT com>
Subject: _WIN32_IE flag and common controls...
Date: Sun, 21 Mar 1999 11:44:55 -0500
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.72.3110.5
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3

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 AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019