CMFCVisualManager::OnDrawMenuBorder
The framework calls this method when it draws the border of a CMFCPopupMenu.
virtual void OnDrawMenuBorder(
CDC* pDC,
CMFCPopupMenu* pMenu,
CRect rect
);
Parameters
[in] pDC
A pointer to the device context for a CMFCPopupMenu object.[in] pMenu
A pointer to a CMFCPopupMenu object. The framework draws a border around this popup menu.[in] rect
A rectangle that specifies the boundaries of the popup menu.
Remarks
The default implementation of this method displays the standard menu border. Override this method in a derived visual manager to customize the appearance of the menu border.
Requirements
Header: afxvisualmanager.h