Udostępnij za pośrednictwem


CMFCVisualManager::OnDrawHeaderCtrlSortArrow

The framework calls this function when it draws the sort arrow of a header control.

virtual void OnDrawHeaderCtrlSortArrow(
   CMFCHeaderCtrl* pCtrl,
   CDC* pDC,
   CRect& rect,
   BOOL bIsUp 
);

Parameters

  • [in] pCtrl
    A pointer to a header control. The visual manager draws the sort arrow of this CMFCHeaderCtrl Class object.

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

  • [in] rect
    A rectangle that specifies the boundaries of the sort arrow.

  • [in] bIsUp
    A Boolean that specifies the direction of the sort arrow.

Remarks

If bIsUp is TRUE, the visual manager draws an up sort arrow. If it is FALSE, the visual manager draws a down sort arrow. Override OnDrawHeaderCtrlSortArrow in a derived class to customize the appearance of the sort button.

Requirements

Header: afxvisualmanager.h

See Also

Reference

CMFCVisualManager Class

Hierarchy Chart