 
            This function is called when the user loads a thumbnail in the window hwndThumbnail.
| 
                        Copy Code
                     | |
|---|---|
| 
typedef AT_BOOL (LPACCUAPI LPFNIG_GUITHUMBLOAD)( 
        LPVOID lpPrivate,
        HWND hwndThumbnail, 
        const LPSTR lpszFileName
);
 | |
| Name | Type | Description | 
|---|---|---|
| lpPrivate | LPVOID | Private data passed. | 
| hwndThumbnail | HWND | Thumbnail window handle. | 
| lpszFileName | const LPSTR | File name of the thumbnail. | 
None
This function does not process image pixels.
None
| 
                        Copy Code
                     | |
|---|---|
| /* CB function*/ AT_BOOL MyLoadCB(LPVOID lpPrivate, HWND hwndThumbnail, const LPSTR lpszFileName) { /* just a test */ MessageBox(hwndThumbnail, (LPCTSTR) lpszFileName, "Thumbnail file Name", MB_OK); return TRUE; } ... ?/* register Load CB */ IG_GUI_thumbnail_load_CB_register(hwndThumbnail, MyLoadCB, NULL); | |
This type of callback function is registered by a call to the IG_GUI_thumbnail_load_CB_register() function.