ImageGear for C and C++ on Windows v20.0 - Updated
IG_GUI_thumbnail_dir_append
API Reference Guide > Core Component API Reference > Core Component Functions Reference > GUI Functions > GUI Thumbnail Functions > IG_GUI_thumbnail_dir_append

This function adds thumbnails to the thumbnail window hWndThumbnail.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_GUI_thumbnail_dir_append (
        HWND hWndThumbnail, 
        const LPSTR lpszDirectory,
        const LPSTR lpszFilter 
);

Arguments:

Name Type Description
hWndThumbnail HWND Handle of Thumbnail window.
lpszDirectory const LPSTR Far pointer to zero-terminated string name of Thumbnail directory.
lpszFilter const LPSTR Far pointer to zero-terminated string name of Thumbnail file filter.

Return Value:

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

Supported Raster Image Formats:

All pixel formats supported by ImageGear for C and C++.

Sample:

Thumbnail, Display, FlashPix

Example:

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

Remarks:

ImageGear examines the directory indicated by the path string pointed to by lpszDirectory. Thumbnails will be created in the thumbnail window for all files matching the filter (or "wildcard") string pointed to by lpszFilter.

lpszFilter is a string in the format *.BMP;*.JPG, or *.* ( to match all files in the named directory).

Is this page helpful?
Yes No
Thanks for your feedback.