This function may be called to update (repaint) the pan window, such as if the image has changed in memory.
Declaration:
| |
Copy Code
|
AT_ERRCOUNT ACCUAPI IG_GUI_pan_update (
HIGEAR hIGear,
DWORD dwGrpID,
HWND hWndPan,
BOOL bFullRepaint
);
|
Arguments:
| Name |
Type |
Description |
| hIGear |
HIGEAR |
HIGEAR handle of image. |
| dwGrpID |
DWORD |
Identifier of group which is used for drawing image in the parent window. |
| hWndPan |
HWND |
Handle of Pan window. |
| bFullRepaint |
BOOL |
TRUE = redraw image. |
Return Value:
Returns the number of ImageGear errors that occurred during this function call.
Supported Raster Image Formats:
All pixel formats supported by ImageGear for C and C++.
Sample:
Panning, Display
Example:
| |
Copy Code
|
HIGEAR hIGear; /* HIGEAR handle of image */
HWND hWndPalette; /* Handle of Pan window */
IG_GUI_pan_update ( hIGear, IG_GRP_DEFAULT, hWndPan, TRUE );
|