TreeView_SetUnicodeFormatTreeView_SetUnicodeFormat*
*Contents  *Index  *Topic Contents
*Previous Topic: TreeView_SetToolTips
*Next Topic: TreeView_SortChildren

TreeView_SetUnicodeFormat


BOOL TreeView_SetUnicodeFormat(
    HWND hwnd,
    BOOL fUnicode
);

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.

hwnd
Handle to the control.
fUnicode
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.

See also TreeView_GetUnicodeFormat


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.