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

This function registers a callback function of type LPFNIG_GUIPAGEDELETEPROC, in which you can write a function to receive notification of when a thumbnail is deleted.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_GUI_page_delete_CB_register(
        HWND hwndPage,
        LPFNIG_GUIPAGEDELETEPROC lpfnPageDeleteProc, 
        LPVOID lpPrivate
);

Arguments:

Name Type Description
hwndPage HWND Windows handle to the page sorter window.
LpfnPageDeletProc LPFNIG_GUIPAGEDELETEPROC A far pointer to the callback function that you wish to register.
LpPrivate LPVOID A far pointer to and private data that you would like to pass to the callback function.

Return Value:

Returns the number of ImageGear errors that occurred during this function call. If there are no errors, the return value is IGE_SUCCESS.

Supported Raster Image Formats:

This function does not process image pixels.

Sample:

Page, GUI Scan

Example:

See the example code under LPFNIG_GUIPAGEDELETEPROC.

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