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

This function changes the background color of a title for all icons having the same file name as nIndex icon.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPIIG_GUI_thumbnail_highlight_icons (
        HWND hWndThumbnail,
        UINT nIndex
);

Arguments:

Name Type Description
hWndThumbnail HWND Handle of Thumbnail window.
nIndex UINT Index of an icon.

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:

You can change the highlighting color using the IG_GUI_THUMBNAIL_HIGHLIGHT_COLOR attribute. The Highlight function is not the same as the select function. Selecting icons using the keyboard or mouse can belong to different filenames.