ImageGear Professional DLL v18.1 for Windows
LPFNIG_GUIPANUPDATE
Send Feedback
ImageGear Professional v18.1 > API Reference Guide > Core Component API Reference > Core Component Callback Functions Reference > LPFNIG_GUIPANUPDATE

Glossary Item Box

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.

©2014. Accusoft Corporation. All Rights Reserved.