ImageGear for C and C++ on Windows v19.5 - Updated
IG_GUI_thumbnail_state_set
API Reference Guide > Core Component API Reference > Core Component Functions Reference > GUI Functions > GUI Thumbnail Functions > IG_GUI_thumbnail_state_set

Calling this function will change a thumbnail's state to highlighted and/or selected.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_GUI_thumbnail_state_set ( 
        HWND hWndThumbnail, 
        UINT nIndex, 
        UINT nMask, 
        UINT nState 
);

Arguments:

Name Type Description
hWndThumbnail HWND Handle of the Thumbnail window.
nIndex UINT Index of a thumbnail.
nMask UINT Mask of state.
nState UINT State of a 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:

None

Remarks:

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