Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Header_SetUnicodeFormat macro

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 HDM_SETUNICODEFORMAT message explicitly.

Syntax


BOOL Header_SetUnicodeFormat(
   HWND hwnd,
   BOOL fUnicode
);

Parameters

hwnd

Type: HWND

A 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.

Return value

Returns the previous Unicode format flag for the control.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Commctrl.h

See also

Header_GetUnicodeFormat

 

 

Community Additions

ADD
Show:
© 2015 Microsoft