Udostępnij za pośrednictwem


CMFCVisualManager::OnHighlightRarelyUsedMenuItems

The framework calls this method when it draws a highlighted menu command.

virtual void OnHighlightRarelyUsedMenuItems(
   CDC* pDC,
   CRect rectRarelyUsed
);

Parameters

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

  • [in] rectRarelyUsed
    A rectangle that specifies the boundaries of the highlighted command.

Remarks

Override this method in a derived visual manager to customize the appearance of highlighted menu commands.

Requirements

Header: afxvisualmanager.h

See Also

Reference

CMFCVisualManager Class

Hierarchy Chart