共用方式為


CMFCVisualManagerOffice2003::DrawCustomizeButton

Draws a customize button.

virtual void DrawCustomizeButton(
   CDC* pDC,
   CRect rect,
   BOOL bIsHorz,
   CMFCVisualManager::AFX_BUTTON_STATE state,
   BOOL bIsCustomize,
   BOOL bIsMoreButtons
);

Parameters

  • [in] pDC
    Pointer to a display context.

  • [in] rect
    The bounding rectangle of the button

  • [in] bIsHorz
    TRUE if the button is horizontal, or FALSE if it is vertical.

  • [in] state
    The state of the button as it is to be drawn (regular, pressed or highlighted).

  • [in] bIsCustomize
    TRUE if the customize arrow-down or arrow-left image should be drawn in the button rectangle, or FALSE if not.

  • [in] bIsMoreButtons
    TRUE if the horizontal or vertical customize More-Buttons image should be drawn in the button rectangle, or FALSE if not.

Requirements

Header: afxvisualmanageroffice2003.h

See Also

Reference

CMFCVisualManagerOffice2003 Class

Hierarchy Chart