|
|
Simulates the user clicking a button. An application sends a BM_CLICK message to simulate the user clicking a button.
BM_CLICK wParam = 0; lParam = 0; |
|
|
Retrieves the check state of a radio button or check box. An application sends a BM_GETCHECK message to retrieve the check state of a radio button or check box.
BM_GETCHECK wParam = 0; lParam = 0;
|
|
|
Retrieves the handle to the image. An application sends a BM_GETIMAGE message to retrieve a handle to the image (icon or bitmap) associated with the button.
BM_GETIMAGE int image_type; wParam = (WPARAM)&image_type; lParam = 0;
|
|
|
Gets the state of a button or check box. An application sends a BM_GETSTATE message to determine the state of a button or check box.
BM_GETSTATE wParam = 0; lParam = 0;
|
|
|
Sets the check state of a radio button or check box. An application sends a BM_SETCHECK message to set the check state of a radio button or check box.
BM_SETCHECK int check_state; wParam = (WPARAM)check_state; lParam = 0;
|
|
|
Associates a new image (icon or bitmap) with the button. An application sends a BM_SETIMAGE message to associate a new image (icon or bitmap) with the button. Please use BM_IMAGE_BITMAP or BM_IMAGE_ICON as the first parameter of the message to indicate the type of button control image:
|
|
|
Sets the state of a button. An application sends a BM_SETSTATE message to set the state of a button.
BM_SETSTATE int push_state; wParam = (WPARAM)push_state; lParam = 0;
|
|
|
Changes the style of a button. An application sends a BM_SETSTYLE message to change the style of a button.
BM_SETSTYLE int button_style; wParam = (WPARAM)button_style; lParam = 0;
|
1.4.2