Muokkaa

Jaa


CBEM_SETEXTENDEDSTYLE message

Sets extended styles within a ComboBoxEx control.

Parameters

wParam

A DWORD value that indicates which styles in lParam are to be affected. Only the extended styles in wParam will be changed. If this parameter is zero, then all of the styles in lParam will be affected.

lParam

A DWORD value that contains the ComboBoxEx Control Extended Styles to set for the control.

Return value

Returns a DWORD value that contains the extended styles previously used for the control.

Remarks

wParam enables you to modify one or more extended styles without having to retrieve the existing styles first. For example, if you pass CBES_EX_NOEDITIMAGE for wParam and 0 for lParam, the CBES_EX_NOEDITIMAGE style will be cleared, but all other styles will remain the same.

If you try to set an extended style for a ComboBoxEx control created with the CBS_SIMPLE style, it may not repaint properly.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h