MiniGUI API Reference (MiniGUI-Processes)
v5.0.6
A mature and proven cross-platform GUI system for embedded and smart IoT devices
|
Data Structures | |
struct | _WNDCLASS |
Typedefs | |
typedef struct _WNDCLASS | WNDCLASS |
Functions | |
MG_EXPORT BOOL GUIAPI | RegisterWindowClass (PWNDCLASS pWndClass) |
Registers a window class. More... | |
MG_EXPORT BOOL GUIAPI | UnregisterWindowClass (const char *szClassName) |
Undoes the effect of RegisterWindowClass. More... | |
const MG_EXPORT char *GUIAPI | GetClassName (HWND hWnd) |
Retrieve the name of the class to which the specified window belongs. More... | |
MG_EXPORT BOOL GUIAPI | GetWindowClassInfo (PWNDCLASS pWndClass) |
Retrieve the information of the specified window class. More... | |
MG_EXPORT BOOL GUIAPI | SetWindowClassInfo (const WNDCLASS *pWndClass) |
Set the information of the specified window class. More... | |
const char *GUIAPI GetClassName | ( | HWND | hWnd | ) |
Retrieve the name of the class to which the specified window belongs.
This function retrieves the name of the class to which the specified window hWnd belongs.
hWnd | The handle to the window. |
Retrieve the information of the specified window class.
This function retrieves the information of a window class. The window class to be retrived is specified by pWndClass->spClassName.
pWndClass | The pointer to a WNDCLASS structure, which specifies the window class to be retrived via spClassName field, and returns the information through other fields. |
Registers a window class.
This function registers a window class. Later on, you can create a window of the registered class.
pWndClass | The pointer to a WNDCLASS structure which specifies the information of the window class. |
Example:
Set the information of the specified window class.
This function sets the information of a window class. The window class to be operated is specified by pWndClass->spClassName.
pWndClass | The pointer to a WNDCLASS structure, which specifies the new information of the window class. |
BOOL GUIAPI UnregisterWindowClass | ( | const char * | szClassName | ) |
Undoes the effect of RegisterWindowClass.
This function unregisters a registered window class specified by szClassName.
szClassName | The name of the class to be unregistered. |