CMFCVisualManagerOffice2003::OnDrawComboDropButton

The framework calls this method when it draws the drop button of a CMFCToolBarComboBoxButton Class.

virtual void OnDrawComboDropButton(
   CDC* pDC,
   CRect rect,
   BOOL bDisabled,
   BOOL bIsDropped,
   BOOL bIsHighlighted,
   CMFCToolBarComboBoxButton* pButton
);

Parameters

  • [in] pDC
    A pointer to a device context.

  • [in] rect
    A rectangle that specifies the boundaries of the drop button.

  • [in] bDisabled
    A Boolean parameter that indicates whether the drop button is unavailable.

  • [in] bIsDropped
    A Boolean parameter that indicates whether the combo box is dropped down.

  • [in] bIsHighlighted
    A Boolean parameter that indicates whether the drop button is highlighted.

  • [in] pButton
    A pointer to a CMFCToolBarComboBoxButton object. The framework draws the drop button for this combo box button

Remarks

Override this method in your derived visual manager to customize the appearance of the drop button of a combo box button.

Requirements

Header: afxvisualmanageroffice2003.h

See Also

Reference

CMFCVisualManagerOffice2003 Class

Hierarchy Chart