ImageGear for C and C++ on Windows v19.5 - Updated
IG_GUI_thumbnail_state_get
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.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_GUI_thumbnail_state_get ( 
        HWND hWndThumbnail, 
        UINT nIndex, 
        UINT nMask, 
        LPUINT lpnState 
);

Arguments:

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.

Return Value:

Returns the number of ImageGear errors that occurred during this function call.

Supported Raster Image Formats:

This function does not process image pixels.

Sample:

Thumbnail

Example:

For an example of this and other IG_GUI_thumbnail_ functions and callbacks, see the Thumbnail sample application.

Remarks:

nMask and lpnState can be a combination of the following values: IG_GUI_THUMBNAIL_STATE_HIGHLIGHT and IG_GUI_THUMBNAIL_STATE_SELECT.