Export (0) Print
Expand All

CMFCBaseVisualManager::DrawPushButton

Draws a push button using the current Windows theme.

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

[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.

TRUE if Theme API is enabled; otherwise FALSE.

Header: afxvisualmanager.h

Show:
© 2014 Microsoft