ImageGear for C and C++ on Windows v19.8 - Updated
IG_GUI_page_select_CB_register
API Reference Guide > Core Component API Reference > Core Component Functions Reference > GUI Functions > GUI Page Functions > IG_GUI_page_select_CB_register

This function registers a callback of type LPFNIG_GUIPAGESELECTPROC in which you can write a procedure to react to the user's mouse selection of a page icon on the GUI page sorter window.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_GUI_page_select_CB_register(
        HWND hwndPage,
        LPFNIG_GUIPAGESELECTPROC lpfnPageSelectProc, 
        LPVOID lpPrivate
);

Arguments:

Name Type Description
hwndPage HWND Windows handle to the GUI page sorter window.
lpfnPageSelectProc LPFNIG_GUIPAGESELECTPROC A far pointer to the callback function that you would like to register.
lpPrivate LPVOID A far pointer to any private data that you wish to pass to the callback.

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:

Please see the example code under LPFNIG_GUIPAGESELECTPROC.