Platform SDK: Windows User Interface |
An application sends a BM_SETSTYLE message to change the style of a button.
To send this message, call the SendMessage function with the following parameters.
SendMessage( (HWND) hWnd, // handle to destination window BM_SETSTYLE, // message to send (WPARAM) wParam, // button style (LPARAM) lParam // redraw state );
This message always returns zero.
Windows NT/2000: Requires Windows NT 3.1 or later.
Windows 95/98: Requires Windows 95 or later.
Header: Declared in Winuser.h; include Windows.h.