Condividi tramite


CMFCVisualManager::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 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
    A Boolean parameter that indicates whether the header control is pressed.

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

Remarks

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

Requirements

Header: afxvisualmanager.h

See Also

Reference

CMFCVisualManager Class

Hierarchy Chart

CMFCHeaderCtrl Class