ImageGear Professional v18.2 > API Reference Guide > Core Component API Reference > Core Component Functions Reference > GUI Functions > GUI Thumbnail Functions > IG_GUI_thumbnail_state_get |
This function changes the thumbnail's state to highlighted and/or selected.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_GUI_thumbnail_state_get ( HWND hWndThumbnail, UINT nIndex, UINT nMask, LPUINT lpnState ); |
Name | Type | Description |
hWndThumbnail | HWND | Handle of the Thumbnail window. |
nIndex | UINT | Index of an thumbnail. |
nMask | UINT | Mask of state. |
lpnState | LPUINT | State of an thumbnail. |
Returns the number of ImageGear errors that occurred during this function call.
This function does not process image pixels.
Thumbnail
For an example of this and other IG_GUI_thumbnail_ functions and callbacks, see the Thumbnail sample application.
nMask and lpnState can be a combination of the following values: IG_GUI_THUMBNAIL_STATE_HIGHLIGHT and IG_GUI_THUMBNAIL_STATE_SELECT.