This function changes the current setting for the thumbnail icon data indicated by nAttributeID.
|
Copy Code
|
|
|---|---|
AT_ERRCOUNT ACCUAPI IG_GUI_thumbnail_data_set (
HWND hwndThumbnail,
UINT nIndex,
AT_MODE nAttributeID,
LPVOID lpData
);
|
|
| Name | Type | Description |
|---|---|---|
| hwndThumbnail | HWND | Windows handle to the Thumbnail Window. |
| nIndex | UINT | Index of an icon. |
| nAttributeID | AT_MODE | Only the icon title (IG_GUI_THUMBNAIL_ICON_TITLE) can be changed. |
| lpData | LPVOID | The current setting of the icon attribute referred to by nAttributeID. |
Returns the number of ImageGear errors that occurred during this function call. If there are no errors, the return value is IGE_SUCCESS.
All pixel formats supported by ImageGear for C and C++.
None
|
Copy Code
|
|
|---|---|
CHAR szTitle[128]; HWND hWndThumb; UINT nIndex; IG_GUI_thumbnail_data_set(hWndThumb, nIndex, IG_GUI_THUMBNAIL_ICON_TITLE, (LPVOID)szTitle); |
|