共用方式為


CMFCVisualManager::OnFillPopupWindowBackground

The framework calls this method when it fills the background of a pop-up window.

virtual void OnFillPopupWindowBackground(
   CDC* pDC,
   CRect rect
);

Parameters

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

  • [in] rect
    A rectangle that specifies the boundaries of the popup window.

Remarks

Override this method in a derived visual manager to customize the appearance of pop-up windows.

Requirements

Header: afxvisualmanager.h

See Also

Reference

CMFCVisualManager Class

Hierarchy Chart