BM_SETSTYLE (Windows CE 5.0)

Send Feedback

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

BM_SETSTYLEwParam = (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 Values

This message always returns zero.

Remarks

The following button styles are not supported:

  • BS_PUSHBOX
  • BS_USERBUTTON

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Winuser.h.

See Also

Buttons Messages

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.