void SetButtonStyle( UINT nStyle, BOOL bRedraw = TRUE );
Parameters
nStyle
Specifies the button style.
bRedraw
Specifies whether the button is to be redrawn. A nonzero value redraws the button. A 0 value does not redraw the button. The button is redrawn by default.
Remarks
Changes the style of a button.
Use the GetButtonStyle member function to retrieve the button style. The low-order word of the complete button style is the button-specific style.
CButton Overview | Class Members | Hierarchy Chart
See Also CButton::GetButtonStyle, BM_SETSTYLE