ImageGear for C and C++ on Windows v20.0 - Updated
LPFNIG_GUIPANUPDATE
API Reference Guide > Core Component API Reference > Core Component Callback Functions Reference > LPFNIG_GUIPANUPDATE

This function is called after a Pan window is updated.

Declaration:

 
Copy Code
typedef VOID (LPACCUAPI LPFNIG_GUIPANUPDATE)( 
        LPVOID lpPrivate, 
        HWND hwndPan,   
        const LPAT_RECT lprcDevice 
);

Arguments:

Name Type Description
lpPrivate LPVOID Private data passed.
hwndPan HWND Pan window handle.
lprcDevice const LPAT_RECT New device rectangle after panned.

Return Value:

None

Supported Raster Image Formats:

This function does not process image pixels.

Sample:

None

Example:

 
Copy Code
 /* CB function*/
VOID  MyPanUpdateCB (LPVOID lpPrivate,  HWND hwndPan,   const LPAT_RECT   lprcDevice){
 /* Do something with the new device rectangle lprcDevice */}
...
/* register Pan Update CB */
IG_GUI_pan_CB_register (hwndPan, MyPanUpdateCB, NULL);

Remarks:

This type of callback function is registered by a call to the IG_GUI_pan_CB_register() function.

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