-#ifndef TVS_INFOTIP
- #define TVS_INFOTIP 2048
-#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
- #else
- #define TVN_GETINFOTIP TVN_GETINFOTIPA
- #endif
-#endif
-
-#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;
- LPSTR pszText;
- int cchTextMax;
- HTREEITEM hItem;
- LPARAM lParam;
- };
- struct NMTVGETINFOTIPW
- {
- NMHDR hdr;
- LPWSTR pszText;
- int cchTextMax;
- HTREEITEM hItem;
- LPARAM lParam;
- };
- #ifdef UNICODE
- #define NMTVGETINFOTIP NMTVGETINFOTIPW
- #else
- #define NMTVGETINFOTIP NMTVGETINFOTIPA
- #endif
-#endif
-
-// ----------------------------------------------------------------------------
-// Misc stuff
-// ----------------------------------------------------------------------------
-
-#ifndef CCM_SETUNICODEFORMAT
- #define CCM_SETUNICODEFORMAT 8197
-#endif
-
-#ifndef QS_ALLPOSTMESSAGE
- #define QS_ALLPOSTMESSAGE 0x0100
-#endif
-
-#ifndef WS_EX_CLIENTEDGE
- #define WS_EX_CLIENTEDGE 0x00000200L
-#endif
-
-#ifndef ENDSESSION_LOGOFF
- #define ENDSESSION_LOGOFF 0x80000000
-#endif
-
-#ifndef HANGUL_CHARSET
- #define HANGUL_CHARSET 129
-#endif
-
-#ifndef TME_HOVER
- #define TME_HOVER 1
-#endif
-
-#ifndef TME_LEAVE
- #define TME_LEAVE 2
-#endif
-
-#ifndef TME_QUERY
- #define TME_QUERY 0x40000000
-#endif
-
-#ifndef TME_CANCEL
- #define TME_CANCEL 0x80000000
-#endif
-
-#ifndef HOVER_DEFAULT
- #define HOVER_DEFAULT 0xFFFFFFFF
-#endif
-
-#ifdef __DMC__
-
- #ifndef _TrackMouseEvent
- #define _TrackMouseEvent TrackMouseEvent
- #endif
-