Share via


BM_SETSTYLE (Windows Embedded CE 6.0)

1/6/2010

This message is sent by an application to change the style of a button.

Syntax

BM_SETSTYLE wParam = (WPARAM) LOWORD (dwStyle),
    lParam = MAKELPARAM (fRedraw, 0)

Parameters

  • dwStyle
    Value of wParam. Specifies the new button style. This parameter can be a combination of button styles. For information about button styles, see Push Button Styles.
  • fRedraw
    Value of the low-order word of lParam. Boolean 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.

Remarks

The following button styles are not supported:

  • BS_PUSHBOX
  • BS_USERBUTTON

Requirements

Header winuser.h
Windows Embedded CE Windows CE 1.0 and later

See Also

Reference

Buttons Messages