Share via


CMFCVisualManagerOffice2003::OnDrawBarGripper

Called by the framework when it draws the gripper for a control bar.

virtual void OnDrawBarGripper(
   CDC* pDC,
   CRect rectGripper,
   BOOL bHorz,
   CBasePane* pBar
);

Parameters

  • [in] pDC
    A pointer to the device context for a control bar.

  • [in] rectGripper
    The bounding rectangle for the control bar.

  • [in] bHorz
    A Boolean parameter that specifies whether the control bar is docked horizontally or vertically.

  • [in] pBar
    A pointer to a control bar. The visual manager draws the gripper of this control bar.

Remarks

The default implementation of this method displays the standard gripper. To customize the appearance of the gripper, override this method in a custom class derived from the CMFCVisualManagerOffice2003 Class Class.

Requirements

Header: afxvisualmanageroffice2003.h

See Also

Reference

CMFCVisualManagerOffice2003 Class

Hierarchy Chart