MiniGUI API Reference (MiniGUI-Processes)
v3.2.0
A mature and proven cross-platform GUI system for embedded and smart IoT devices
|
Data Structures | |
struct | _IME_TARGET_INFO |
Typedefs | |
typedef struct _IME_TARGET_INFO | IME_TARGET_INFO |
Functions | |
MG_EXPORT int GUIAPI | RegisterIMEWindow (HWND hWnd) |
Registers an IME window. More... | |
MG_EXPORT int GUIAPI | UnregisterIMEWindow (HWND hWnd) |
Unregisters an IME window. More... | |
MG_EXPORT int GUIAPI | GetIMEStatus (int StatusCode) |
Retrives status of the current IME window. More... | |
MG_EXPORT int GUIAPI | SetIMEStatus (int StatusCode, int Value) |
Sets the status of the current IME window. More... | |
MG_EXPORT int GUIAPI | GetIMETargetInfo (IME_TARGET_INFO *info) |
Retrives the target info of the current IME window. More... | |
MG_EXPORT int GUIAPI | SetIMETargetInfo (const IME_TARGET_INFO *info) |
Sets the target info of the current IME window. More... | |
MG_EXPORT int GUIAPI | GetIMEPos (POINT *pt) |
Retrives the position of the current IME window. More... | |
typedef struct _IME_TARGET_INFO IME_TARGET_INFO |
\ struct defines a ime target info
int GUIAPI GetIMEPos | ( | POINT * | pt | ) |
Retrives the position of the current IME window.
NOTE that this function is deprecated.
This function retrives the position of the current IME window.
pt | The item to be retrived. The positon is return by the current IME Window. |
int GUIAPI GetIMEStatus | ( | int | StatusCode | ) |
Retrives status of the current IME window.
This function retrives status of the current IME window.
StatusCode | The item to be retrived, can be one of the following values:
|
int GUIAPI GetIMETargetInfo | ( | IME_TARGET_INFO * | info | ) |
Retrives the target info of the current IME window.
This function retrives the target info of the current IME window.
info | The item to be retrived. The target info is return by the current IME Window. |
int GUIAPI RegisterIMEWindow | ( | HWND | hWnd | ) |
Registers an IME window.
This function registers the specified window hWnd as the IME window of the MiniGUI. After that, the keyboard input will be sent to IME window first. Note that only one IME window can be registered.
hWnd | The handle to your IME window. |
ERR_OK | Success. |
ERR_IME_TOOMUCHIMEWND | Already have an IME window registered. |
ERR_INV_HWND | Invalid main window handle. |
int GUIAPI SetIMEStatus | ( | int | StatusCode, |
int | Value | ||
) |
Sets the status of the current IME window.
This function sets the status of the current IME window.
StatusCode | The item to be set. Please see GetIMEStatus for more information. |
Value | The status value of the item. |
ERR_OK | Success. |
ERR_IME_NOIMEWND | There is no any IME window registered. |
int GUIAPI SetIMETargetInfo | ( | const IME_TARGET_INFO * | info | ) |
Sets the target info of the current IME window.
This function sets the target info of the current IME window.
info | The set target info. |
ERR_OK | Success. |
ERR_IME_NOIMEWND | There is no any IME window registered. |
int GUIAPI UnregisterIMEWindow | ( | HWND | hWnd | ) |
Unregisters an IME window.
This function undoes the effect of RegisterIMEWindow.
hWnd | The handle to the current IME window. |
ERR_OK | Success. |
ERR_IME_NOSUCHIMEWND | The window is not the current IME window. |