#define GetLargeSystemIcon | ( | iItem | ) | GetLargeSystemIconEx(HWND_NULL, iItem) |
Retrives a large (32x32) system icon by its identifier in default renderer.
#define GetSmallSystemIcon | ( | iItem | ) | GetSmallSystemIconEx(HWND_NULL, iItem) |
Retrives a small (16x16) system icon by its identifier in default renderer.
Retrives a large system icon by its identifier in default renderer.
This function retrives the handle to a large (32x32) system icon by its identifier id.
hWnd | The handle to the window. | |
iItem | The identifier of the icon. It can be one of the following values:
|
Retrives a small system icon by its identifier.
This function retrives the handle to a small (16x16) system icon by its identifier id.
hWnd | The handle to the window. | |
iItem | The identifier of the icon. It can be one of the following values:
|
Retrives the system bitmap object by identifier.
This function returns the system bitmap object by its identifier.
hWnd | The handle to the window. | |
id | The identifier of the system bitmap object, can be one of the following values: |
Retrives the system bitmap object by identifier.
This function returns the system bitmap object by its identifier.
hWnd | The handle to the window. | |
id | The identifier of the system bitmap object, can be one of the following values: |
MG_EXPORT const BITMAP *GUIAPI GetSystemBitmapEx | ( | const char * | rdr_name, | |
const char * | id | |||
) |
Retrives the system bitmap object by identifier.
This function returns the system bitmap object by its identifier.
rdr_name | The renderer name. | |
id | The identifier of the system bitmap object, can be one of the following values: |
HICON GUIAPI LoadSystemIcon | ( | const char * | szItemName, | |
int | which | |||
) |
Uses default renderer and HDC_SCREEN to load an icon from information defined in MiniGUI.cfg.
This function loads an icon from information defined in MiniGUI.cfg.
szItemName | The key name in the section of renderer name in MiniGUI.cfg. | |
which | Tell the function to load which icon. |
HICON GUIAPI LoadSystemIconEx | ( | HDC | hdc, | |
const char * | rdr_name, | |||
const char * | szItemName, | |||
int | which | |||
) |
Loads an icon from information defined in MiniGUI.cfg.
This function loads an icon from information defined in MiniGUI.cfg.
hdc | The device context. | |
rdr_name | The renderer name. | |
szItemName | The key name in the section of renderer name in MiniGUI.cfg. | |
which | Tell the function to load which icon. 0 for the small icon, and 1 for large icon. |
Release the system bitmap object by identifier.
hWnd | The handle to the window. | |
id | The identifier of the system bitmap object, can be one of the following values: |
bmp | The pointer to the system bitmap object. |
void GUIAPI TermSystemBitmapEx | ( | const char * | id, | |
const char * | rdr_name, | |||
PBITMAP | bmp | |||
) |
Release the system bitmap object by identifier.
id | The identifier of the system bitmap object, can be one of the following values: |
rdr_name | The renderer name. | |
bmp | The pointer to the system bitmap object. |