This function changes the current setting for the thumbnail icon data indicated by nAttributeID.
Declaration:
Copy Code |
|
|---|---|
AT_ERRCOUNT ACCUAPI IG_GUI_thumbnail_data_set (
HWND hwndThumbnail,
UINT nIndex,
AT_MODE nAttributeID,
LPVOID lpData
);
|
|
Arguments:
| 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. |
Return Value:
Returns the number of ImageGear errors that occurred during this function call. If there are no errors, the return value is IGE_SUCCESS.
Supported Raster Image Formats:
All pixel formats supported by ImageGear Professional.
Sample:
None
Example:
Copy Code |
|
|---|---|
CHAR szTitle[128]; HWND hWndThumb; UINT nIndex; IG_GUI_thumbnail_data_set(hWndThumb, nIndex, IG_GUI_THUMBNAIL_ICON_TITLE, (LPVOID)szTitle); |
|