TabCtrl_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 TCM_SETUNICODEFORMAT message explicitly.

Syntax


BOOL TabCtrl_SetUnicodeFormat(
   HWND hwnd,
   BOOL fUnicode
);

Parameters

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.

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

TabCtrl_GetUnicodeFormat

 

 

Show: