Partager via


CMFCVisualManagerOffice2003::OnDrawHeaderCtrlBorder

The framework calls this method when it draws the border around an instance of the CMFCHeaderCtrl Class.

virtual void OnDrawHeaderCtrlBorder(
   CMFCHeaderCtrl* pCtrl,
   CDC* pDC,
   CRect& rect,
   BOOL bIsPressed,
   BOOL bIsHighlighted
);

Parameters

  • [in] pCtrl
    A pointer to a CMFCHeaderCtrl Class object. The framework draws the border of this header control.

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

  • [in] rect
    A rectangle that specifies the boundaries of the header control.

  • [in] bIsPressed
     

  • [in] bIsHighlighted
    A Boolean parameter that indicates whether the header control is pressed.

Remarks

Override this method in a derived visual manager to customize the border of the header control.

Requirements

Header: afxvisualmanageroffice2003.h

See Also

Reference

CMFCVisualManagerOffice2003 Class

Hierarchy Chart