Partager via


CMFCPropertySheet::OnDrawPageHeader

Called by the framework to draw the header for a custom property page.

virtual void OnDrawPageHeader(
   CDC* pDC,
   int nPage,
   CRect rectHeader 
);

Parameters

  • [in] pDC
    Pointer to a device context.

  • [in] nPage
    The zero-based property page number.

  • [in] rectHeader
    A bounding rectangle that specifies where to draw the header.

Remarks

By default, this method does nothing. If you override this method, call the CMFCPropertySheet::EnablePageHeader method before the framework calls this method.

Requirements

Header: afxpropertysheet.h

See Also

Reference

CMFCPropertySheet Class

Hierarchy Chart

CMFCPropertySheet::EnablePageHeader