Export (0) Print
Expand All

CCM_SETUNICODEFORMAT message

Sets the Unicode character format flag for the control. This message enables you to change the character set used by the control at run time rather than having to re-create the control.

Parameters

wParam

A value that determines the character set that is used by the control. If this value is TRUE, the control will use Unicode characters. If this value is FALSE, the control will use ANSI characters.

lParam
Must be zero.

Return value

Returns the previous Unicode format flag for the control.

Remarks

The Unicode format flag is used by Microsoft Windows NT systems with version 4.71 of Comctl32.dll or later. Therefore this message is supported by Windows 2000 and later, and by Windows NT 4 with Microsoft Internet Explorer 4.0 or later. It is only useful on Microsoft Windows 95 or Microsoft Windows 98 systems with version 5.80 or later of Comctl32.dll. This means that they must have Internet Explorer 5 or later installed. Windows 95 and Windows 98 systems with earlier versions of Internet Explorer ignore the Unicode format flag, and its value has no bearing on whether a control supports Unicode. For a discussion about how to test whether a control supports Unicode, see CCM_GETUNICODEFORMAT.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Commctrl.h

See also

CCM_GETUNICODEFORMAT

 

 

Community Additions

ADD
Show:
© 2014 Microsoft