ImageGear Professional DLL v17.1 for Windows Accusoft
IG_GUI_thumbnail_dir_append
Send Feedback  
ImageGear Professional DLL v17.1 for Windows > API Reference Guide > Core Component API Reference > Core Component Functions Reference > GUI Functions > GUI Thumbnail Functions > IG_GUI_thumbnail_dir_append

Glossary Item Box

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:

hWndThumbnail Handle of Thumbnail window.
lpszDirectory Far pointer to zero-terminated string name of Thumbnail directory.
lpszFilter 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 Professional.

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).

©2012. Accusoft Corporation. All Rights Reserved.