Condividi tramite


CMFCVisualManagerOffice2003::DrawPushButtonWinXP

Draws a push button using the current Windows XP theme.

virtual BOOL DrawPushButtonWinXP(
   CDC* pDC,
   CRect rect,
   CMFCButton* pButton,
   UINT uiState
);

Parameters

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

  • [in] rect
    The bounding rectangle of the push button.

  • [in] pButton
    A pointer to the CMFCButton Class object to draw.

  • [in] uiState
    Ignored. The state is taken from pButton.

Return Value

TRUE if the Theme API is enabled; otherwise FALSE.

Requirements

Header: afxvisualmanageroffice2003.h

See Also

Reference

CMFCVisualManagerOffice2003 Class

Hierarchy Chart