MiniGUI API Reference (MiniGUI-Standalone)
v3.2.0
A mature and proven cross-platform GUI system for embedded and smart IoT devices
|
Macros | |
#define | BM_GETCHECK 0xF0F0 |
Retrieves the check state of a radio button or check box. More... | |
#define | BM_SETCHECK 0xF0F1 |
Sets the check state of a radio button or check box. More... | |
#define | BM_GETSTATE 0xF0F2 |
Gets the state of a button or check box. More... | |
#define | BM_SETSTATE 0xF0F3 |
Sets the state of a button. More... | |
#define | BM_SETSTYLE 0xF0F4 |
Changes the style of a button. More... | |
#define | BM_CLICK 0xF0F5 |
Simulates the user clicking a button. More... | |
#define | BM_ENABLE 0xF0F6 |
enable or disable the button. If it is disabled, it can receive mouse and key messages but don't response them More... | |
#define | BM_GETIMAGE 0xF0F7 |
Retrieves the handle to the image. More... | |
#define | BM_SETIMAGE 0xF0F8 |
Associates a new image (icon or bitmap) with the button. More... | |
#define BM_CLICK 0xF0F5 |
#define BM_ENABLE 0xF0F6 |
#define BM_GETCHECK 0xF0F0 |
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.
BST_UNCHECKED | The button is not checked. |
BST_CHECKED | The button is checked. |
BST_INDETERMINATE | The button is grayed because the state of the button is indeterminate. |
#define BM_GETIMAGE 0xF0F7 |
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.
image_type | The type of a button image will be returned through this buferr. It can be one of the following values:
|
#define BM_GETSTATE 0xF0F2 |
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.
#define BM_SETCHECK 0xF0F1 |
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.
check_state | The check state of button, can be one of the following values:
|
#define BM_SETIMAGE 0xF0F8 |
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:
#define BM_SETSTATE 0xF0F3 |
Sets the state of a button.
An application sends a BM_SETSTATE message to set the state of a button.
push_state | The push state of a button, can be one of the following values:
|
#define BM_SETSTYLE 0xF0F4 |
Changes the style of a button.
An application sends a BM_SETSTYLE message to change the style of a button.
button_style | The styles of a button. |