共用方式為


CMFCVisualManager::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 CMFCVisualManager Class.

Requirements

Header: afxvisualmanager.h

See Also

Reference

CMFCVisualManager Class

Hierarchy Chart