共用方式為


CMFCVisualManagerOffice2003::OnDrawScrollButtons

The framework calls this method when it draws scroll buttons.

virtual void OnDrawScrollButtons(
   CDC* pDC,
   const CRect& rect,
   const int nBorderSize,
   int iImage,
   BOOL bHilited
);

Parameters

  • [in] pDC
    Pointer to a device context.

  • [in] rect
    The bounding rectangle of the scroll buttons.

  • [in] nBorderSize
    The size of the border to draw around the scroll buttons.

  • [in] iImage
    An identifier of the image to draw in the scroll buttons.

  • [in] bHilited
    TRUE if the scroll buttons are highlighted, or FALSE if not.

Requirements

Header: afxvisualmanageroffice2003.h

See Also

Reference

CMFCVisualManagerOffice2003 Class

Hierarchy Chart