Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The framework calls this method when it draws the border around an instance of the CMFCToolBarEditBoxButton Class.
virtual void OnDrawEditBorder(
CDC* pDC,
CRect rect,
BOOL bDisabled,
BOOL bIsHighlighted,
CMFCToolBarEditBoxButton* pButton
);
Parameters
[in] pDC
A pointer to a device context.[in] rect
A rectangle that specifies the boundaries of the CMFCToolBarEditBoxButton object.[in] bDisabled
A Boolean parameter that indicates whether the button is unavailable.[in] bIsHighlighted
A Boolean parameter that indicates whether the button is highlighted.[in] pButton
A pointer to a CMFCToolBarEditBoxButton object. The framework draws the border of this edit box button.
Remarks
Override this method in a derived visual manager to customize the border of a CMFCToolBarEditBoxButton object.
Requirements
Header: afxvisualmanager.h