ImageGear for C and C++ on Windows v19.1 - Updated
IG_GUI_pan_CB_register
API Reference Guide > Core Component API Reference > Core Component Functions Reference > GUI Functions > GUI Pan Functions > IG_GUI_pan_CB_register

Call this function to register a callback function that is to be called after a Pan window is updated.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_GUI_pan_CB_register (
        HWND hWndPan, 
        LPFNIG_GUIPANUPDATE lpfnPanUpdate, 
        LPVOID lpPrivate 
);

Arguments:

Name Type Description
hWndPan HWND A windows handle to the Pan window.
lpfnPanUpdate LPFNIG_GUIPANUPDATE A pointer to the callback function called whenever a pan window is updated.
lpPrivateData LPVOID A far pointer to any private data that you want to pass to the callback.

Return Value:

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

Supported Raster Image Formats:

This function does not process image pixels.

Sample:

None

Example:

See the example for the LPFNIG_GUIPANUPDATE callback function.

Remarks:

See also the description for the callback type LPFNIG_GUIPANUPDATE.