Commit 6ac5b387 authored by Alexander Nicolaysen Sørnes's avatar Alexander Nicolaysen Sørnes Committed by Alexandre Julliard

include: Define some Get/SetUnicodeFormat macros.

parent c36fec1c
......@@ -2859,6 +2859,10 @@ typedef struct tagTVKEYDOWN
#define TreeView_MapHTREEITEMToAccID(hwnd, htreeitem) \
(UINT)SNDMSG((hwnd), TVM_MAPHTREEITEMTOACCID, (WPARAM)htreeitem, 0)
#define TreeView_SetUnicodeFormat(hwnd, fUnicode) \
(BOOL)SNDMSG((hwnd), TVM_SETUNICODEFORMAT, (WPARAM)(fUnicode), 0)
#define TreeView_GetUnicodeFormat(hwnd) \
(BOOL)SNDMSG((hwnd), TVM_GETUNICODEFORMAT, 0, 0)
/* Listview control */
......@@ -3921,6 +3925,10 @@ typedef struct NMLVSCROLL
(UINT)SNDMSG((hwnd), LVM_MAPINDEXTOID, (WPARAM)index, (LPARAM)0)
#define ListView_MapIDToIndex(hwnd, id) \
(UINT)SNDMSG((hwnd), LVM_MAPIDTOINDEX, (WPARAM)id, (LPARAM)0)
#define ListView_SetUnicodeFormat(hwnd, fUnicode) \
(BOOL)SNDMSG((hwnd), LVM_SETUNICODEFORMAT, (WPARAM)(fUnicode), 0)
#define ListView_GetUnicodeFormat(hwnd) \
(BOOL)SNDMSG((hwnd), LVM_GETUNICODEFORMAT, 0, 0)
/* Tab Control */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment