共用方式為


CComboBoxEx::SetExtendedStyle

Call this member function to set the extended styles used for a combo box extended control.

DWORD SetExtendedStyle( 
   DWORD dwExMask, 
   DWORD dwExStyles  
);

Parameters

  • dwExMask
    A DWORD value that indicates which styles in dwExStyles are to be affected. Only the extended styles in dwExMask will be changed. All other styles will be maintained as is. If this parameter is zero, then all of the styles in dwExStyles will be affected.

  • dwExStyles
    A DWORD value that contains the combo box control extended styles to set for the control.

Return Value

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

Remarks

See ComboBoxEx Control Extended Styles in the Windows SDK for more information about these styles.

To create a combo box extended control with extended windows styles, use CreateEx.

Requirements

Header: afxcmn.h

See Also

Reference

CComboBoxEx Class

Hierarchy Chart

CComboBoxEx::GetExtendedStyle