This function is to be called during WM_SIZE message handling and it recalculates all the parameters according to the new window width and height.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_dspl_resize_handle( [IN] HIGEAR hIGear, [IN] DWORD dwGrpID, [IN] HWND hWnd ); |
Name | Type | Description |
---|---|---|
hIGear | HIGEAR | ImageGear handle of image. |
dwGrpID | DWORD | Identifier of group which is used to display the image on the hWnd. |
hWnd | HWND | Handle of window where the image is displayed. |
Returns the number of ImageGear errors that occurred during this function call.
All pixel formats supported by ImageGear for C and C++.
Magnify, Medical, Image Util, Panning, Vector, Flashpix
Copy Code
|
|
---|---|
HIGEAR hIGear; /* HIGEAR handle of image */ DWORD nGrpID; /* display group identifier */ ... case WM_SIZE: /* handle window resizing */ IG_dspl_resize_handle( hIGear, nGrpID, hWnd ); break; ... |