MiniGUI API Reference (MiniGUI-Threads)
v3.2.0
A mature and proven cross-platform GUI system for embedded and smart IoT devices
|
Macros | |
#define | MSG_CREATE 0x0060 |
Indicates the window has been created, and gives you a chance to initialize your private objects. More... | |
#define | MSG_NCCREATE 0x0061 |
Indicates the window has been created, but has not registered to the system. More... | |
#define | MSG_DESTROY 0x0064 |
Indicates the window will be destroyed. More... | |
#define | MSG_CLOSE 0x0066 |
Indicates the user has clicked the closing box on the caption. More... | |
#define MSG_CLOSE 0x0066 |
#define MSG_CREATE 0x0060 |
Indicates the window has been created, and gives you a chance to initialize your private objects.
This messages is sent to the window after the window has been created and registered to the system. You can initialize your own objects when you receive this message, and return zero to the system in order to indicates the success of your initialization. If you return non-zero to the system after handled this message, the created window will be destroyed immediately.
create_info | The pointer to the MAINWINCREATE structure which is passed to CreateMainWindow function. |
parent | The handle to the parent window of the control. |
add_data | The first additional data passed to CreateWindowEx function. |
#define MSG_DESTROY 0x0064 |
Indicates the window will be destroyed.
This message is sent to the window when DestroyMainWindow or DestroyWindow is calling. You can destroy your private objects when receiving this message.
If you return non-zero to the system after handle this message, the process of DestroyMainWindow and DestroyWindow will return immediately.
#define MSG_NCCREATE 0x0061 |
Indicates the window has been created, but has not registered to the system.
This message is sent to the window after the window has been created, but not registered the system. Like MSG_CREATE message, you can initialize your own objects when you receive this message, but can not create child windows of the window, and can not get a device context to paint.
If you return non-zero to the system after handled this message, the created window will be destroyed immediately.
create_info | The pointer to the MAINWINCREATE structure which is passed to CreateMainWindow function. |
add_data | The first additional data passed to CreateWindowEx function. |