CButton::SetButtonStyle

Syntax

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

Parameters

nStyle

Specifies the button style.

bRedraw

Specifies whether the button is to be redrawn. A value of TRUE redraws the button. A value of FALSE does not redraw the button. The button is redrawn by default.

Remarks

Changes the style of a button. See the Create member function for a list of possible button styles.

See Also

CButton::GetButtonStyle, BM_SETSTYLE