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

Call this function to register a callback function to be called whenever a thumbnail is loaded in the thumbnail window hwndThumbnail.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_GUI_thumbnail_load_CB_register(   
        HWND hwndThumbnail,   
        LPFNIG_GUITHUMBLOAD lpfnThumbLoad,   
        LPVOID lpPrivateData   
);

Arguments:

Name Type Description
hwndThumbnail HWND Windows handle to the Thumbnail window.
lpfnThumbLoad LPFNIG_GUITHUMBLOAD A pointer to the callback function that you are registering, to be called whenever a thumbnail is loaded.
lpPrivateData LPVOID A far pointer to any private data to which you want to pass the callback.

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

Example:

See example under LPFNIG_GUITHUMBLOAD function.

Remarks:

See also the description for callback type LPFNIG_GUITHUMBLOAD.