Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

BM_SETSTYLE message

Sets the style of a button. You can send this message explicitly or use the Button_SetStyle macro.

Parameters

wParam

The button style. This parameter can be a combination of button styles. For a table of button styles, see Button Styles.

lParam

The LOWORD of lParam is a BOOL that specifies whether the button is to be redrawn. A value of TRUE redraws the button; a value of FALSE does not redraw the button.

Return value

This message always returns zero.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Winuser.h (include Windows.h)

 

 

Community Additions

ADD
Show:
© 2015 Microsoft