BM_SETSTYLE

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

At a Glance

Header file: Winuser.h
Windows CE versions: 1.0 and later

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 the Windows CE User Interface Services Guide.

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: