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:
hIGear | HIGEAR handle of image. |
dwGrpID | Identifier of group which is used for drawing image in the parent window. |
hWndPan | Handle of Pan window. |
bFullRepaint | 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 Professional.
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 ); |