Share via


CMFCVisualManagerOffice2003::OnDrawPopupWindowCaption

The framework calls this method when it draws the caption of a popup window.

virtual COLORREF OnDrawPopupWindowCaption(
   CDC* pDC,
   CRect rectCaption,
   CMFCDesktopAlertWnd* pPopupWnd
);

Parameters

  • [in] pDC
    Pointer to the device context of the caption.

  • [in] rectCaption
    Bounding rectangle of the caption.

  • [in] pPopupWnd
    Pointer to the popup window for which the caption is to be drawn.

Return Value

The text color of the caption.

Remarks

Override this method in a derived visual manager to customize the appearance of popup-window captions.

Requirements

Header: afxvisualmanageroffice2003.h

See Also

Reference

CMFCVisualManagerOffice2003 Class

Hierarchy Chart