#define TVM_SETTEXTCOLOR (TV_FIRST + 30)
#endif
+#ifndef TVN_GETINFOTIPA
+ #define TVN_GETINFOTIPA (TVN_FIRST-13)
+ #define TVN_GETINFOTIPW (TVN_FIRST-14)
+#endif
+
#ifndef TVN_GETINFOTIP
#ifdef UNICODE
#define TVN_GETINFOTIP TVN_GETINFOTIPW
#endif
#endif
-#ifndef NMTVGETINFOTIP
+#if !defined(NMTVGETINFOTIP) && defined(TVN_FIRST)
+ // NB: Check for TVN_FIRST is done so that this code is not included if
+ // <commctrl.h> (which defined HTREEITEM) wasn't included before.
struct NMTVGETINFOTIPA
{
NMHDR hdr;