Sets extended styles within a ComboBoxEx control.
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.
A DWORD value that contains the ComboBoxEx Control Extended Styles to set for the control.
Returns a DWORD value that contains the extended styles previously used for the control.
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.
Minimum supported client
|Windows Vista [desktop apps only]|
Minimum supported server
|Windows Server 2003 [desktop apps only]|