TreeView_SetUnicodeFormat macro (commctrl.h)
Sets the Unicode character format flag for the control. This message allows you to change the character set used by the control at run time rather than having to re-create the control. You can use this macro or send the TVM_SETUNICODEFORMAT message explicitly.
BOOL TreeView_SetUnicodeFormat(
HWND hwnd,
BOOL fUnicode
);
hwnd
Type: HWND
Handle to the control.
fUnicode
Type: BOOL
Determines the character set that is used by the control. If this value is nonzero, the control will use Unicode characters. If this value is zero, the control will use ANSI characters.
Type: BOOL
Returns the previous Unicode format flag for the control.
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | commctrl.h |