共用方式為


CMFCBaseVisualManager::DrawComboDropButton

Draws a combo box drop-down button using the current Windows theme.

virtual BOOL DrawComboDropButton(
   CDC* pDC, 
   CRect rect, 
   BOOL bDisabled, 
   BOOL bIsDropped, 
   BOOL bIsHighlighted 
);

Parameters

Parameter

Description

[in] pDC

A pointer to a device context.

[in] rect

The bounding rectangle of the combo box drop-down button.

[in] bDisabled

Specifies whether the combo box drop-down button is disabled.

[in] bIsDropped

Specifies whether the combo box drop-down button is dropped down.

[in] bIsHighlighted

Specifies whether the combo box drop-down button is highlighted.

Return Value

TRUE if Theme API is enabled; otherwise FALSE.

Requirements

Header: afxvisualmanager.h

See Also

Reference

CMFCBaseVisualManager Class

Hierarchy Chart