共用方式為


CMFCVisualManagerOffice2003::DrawComboDropButtonWinXP

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

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

Parameters

  • [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

Returns TRUE if the theme API is enabled or FALSE if not.

Requirements

Header: afxvisualmanageroffice2003.h

See Also

Reference

CMFCVisualManagerOffice2003 Class

Hierarchy Chart