CMFCVisualManager::OnDrawComboBorder
The framework calls this method when it draws the border around an instance of the CMFCToolBarComboBoxButton Class.
virtual void OnDrawComboBorder(
CDC* pDC,
CRect rect,
BOOL bDisabled,
BOOL bIsDropped,
BOOL bIsHighlighted,
CMFCToolBarComboBoxButton* pButton
);
Parameters
[in] pDC
A pointer to the device context of a combo box button.[in] rect
A rectangle that specifies the boundaries of the combo box button.[in] bDisabled
A Boolean parameter that indicates whether the combo box 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 combo box button is highlighted.[in] pButton
A pointer to a CMFCToolBarComboBoxButton object. The framework draws this combo box button.
Remarks
Override this method in your derived visual manager to customize the appearance of the border of the combo box.
Requirements
Header: afxvisualmanager.h