ImageGear Professional v18.2 > API Reference Guide > Core Component API Reference > Core Component Callback Functions Reference > LPFNIG_GUIPANUPDATE |
This function is called after a Pan window is updated.
Copy Code
|
|
---|---|
typedef VOID (LPACCUAPI LPFNIG_GUIPANUPDATE)(
LPVOID lpPrivate,
HWND hwndPan,
const LPAT_RECT lprcDevice
);
|
Name | Type | Description |
lpPrivate | LPVOID | Private data passed. |
hwndPan | HWND | Pan window handle. |
lprcDevice | const LPAT_RECT | New device rectangle after panned. |
None
This function does not process image pixels.
None
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); |
This type of callback function is registered by a call to the IG_GUI_pan_CB_register() function.