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.