aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2004-01-01 10:16:13 +0000
committerDanny Smith <dannysmith@users.sourceforge.net>2004-01-01 10:16:13 +0000
commit4f28a0f0fef8ca305b40ffebd58f20763b06a12d (patch)
tree43061cd834bfeed9ecc729adaf5e76964cabb02e
parentc8cbb48c306a1c410b8b8c8a3537ff296c654ae9 (diff)
downloadnewlib-4f28a0f0fef8ca305b40ffebd58f20763b06a12d.zip
newlib-4f28a0f0fef8ca305b40ffebd58f20763b06a12d.tar.gz
newlib-4f28a0f0fef8ca305b40ffebd58f20763b06a12d.tar.bz2
2004-01-01 Mattia Barbon <mbarbon@users.sourceforge.net>
* include/commctrl.h (TVN_GETINFOTIP): Add UNICODE mappings. (NMTVGETINFOTIP): Add structure.
-rw-r--r--winsup/w32api/ChangeLog7
-rw-r--r--winsup/w32api/include/commctrl.h26
2 files changed, 32 insertions, 1 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog
index 64ac9e8..c4855c5 100644
--- a/winsup/w32api/ChangeLog
+++ b/winsup/w32api/ChangeLog
@@ -1,8 +1,13 @@
+2004-01-01 Mattia Barbon <mbarbon@users.sourceforge.net>
+
+ * include/commctrl.h (TVN_GETINFOTIP): Add UNICODE mappings.
+ (NMTVGETINFOTIP): Add structure.
+
2003-12-08 Danny Smith <dannysmith@users.sourceforge.net>
* include/winuser.h (DISPLAY_DEVICE_*): Remove defines.
* include/wingdi.h (DISPLAY_DEVICE_REMOVABLE,
- DISPLAY_DEVICE_MODESPRINED): Add defines.
+ DISPLAY_DEVICE_MODESPRUNED): Add defines.
2003-12-08 Hartmut Honisch <hhonisch@users.sourceforge.net>
diff --git a/winsup/w32api/include/commctrl.h b/winsup/w32api/include/commctrl.h
index 064dead..0038983 100644
--- a/winsup/w32api/include/commctrl.h
+++ b/winsup/w32api/include/commctrl.h
@@ -2574,6 +2574,22 @@ typedef struct tagNMTVDISPINFOW {
} NMTVDISPINFOW, *LPNMTVDISPINFOW;
#define _TV_DISPINFOW tagNMTVDISPINFOW
#define TV_DISPINFOW NMTVDISPINFOW
+#if (_WIN32_IE >= 0x0400)
+typedef struct tagNMTVGETINFOTIPA {
+ NMHDR hdr;
+ LPSTR pszText;
+ int cchTextMax;
+ HTREEITEM hItem;
+ LPARAM lParam;
+} NMTVGETINFOTIPA, *LPNMTVGETINFOTIPA;
+typedef struct tagNMTVGETINFOTIPW {
+ NMHDR hdr;
+ LPWSTR pszText;
+ int cchTextMax;
+ HTREEITEM hItem;
+ LPARAM lParam;
+} NMTVGETINFOTIPW, *LPNMTVGETINFOTIPW;
+#endif
typedef struct _TV_KEYDOWN {
NMHDR hdr;
WORD wVKey;
@@ -3279,6 +3295,11 @@ typedef NMHDDISPINFOW NMHDDISPINFO, *LPNMHDDISPINFO;
#define TV_DISPINFO NMTVDISPINFOW
#define NMTVDISPINFO NMTVDISPINFOW
#define LPNMTVDISPINFO LPNMTVDISPINFOW
+#if (_WIN32_IE >= 0x0400)
+#define NMTVGETINFOTIP NMTVGETINFOTIPW
+#define LPNMTVGETINFOTIP LPNMTVGETINFOTIPW
+#define TVN_GETINFOTIP TVN_GETINFOTIPW
+#endif
#define TVN_SELCHANGING TVN_SELCHANGINGW
#define TVN_SELCHANGED TVN_SELCHANGEDW
#define TVN_GETDISPINFO TVN_GETDISPINFOW
@@ -3443,6 +3464,11 @@ typedef NMHDDISPINFOW NMHDDISPINFO, *LPNMHDDISPINFO;
#define TV_DISPINFO NMTVDISPINFOA
#define NMTVDISPINFO NMTVDISPINFOA
#define LPNMTVDISPINFO LPNMTVDISPINFOA
+#if (_WIN32_IE >= 0x0400)
+#define NMTVGETINFOTIP NMTVGETINFOTIPA
+#define LPNMTVGETINFOTIP LPNMTVGETINFOTIPA
+#define TVN_GETINFOTIP TVN_GETINFOTIPA
+#endif
#define TVN_SELCHANGING TVN_SELCHANGINGA
#define TVN_SELCHANGED TVN_SELCHANGEDA
#define TVN_GETDISPINFO TVN_GETDISPINFOA