1 out of 1 rated this helpful - Rate this topic

BM_SETSTYLE message

Applies to: desktop apps only

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 2000 Professional

Minimum supported server

Windows 2000 Server

Header

Winuser.h (include Windows.h)

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ