CButton::SetButtonStyle

This method changes the style of a button.

Use the GetButtonStyle method to retrieve the button style. The low-order word of the complete button style is the button-specific style.

At a Glance

Header file: Afxwin.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 1.0 and later
Complete documentation: Visual C++ documentation

Syntax

void SetButtonStyle( UINT nStyle, BOOL bRedraw = TRUE );

See Also

CButton::GetButtonStyle