ImageGear for C and C++ on Windows v19.5 - Updated
IG_GUI_magnify_update
API Reference Guide > Core Component API Reference > Core Component Functions Reference > GUI Functions > GUI Magnify Functions > IG_GUI_magnify_update

This function may be called to update (repaint) the magnify window (e.g., if the image being displayed in its parent window has changed).

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_GUI_magnify_update ( 
        HIGEAR hIGear, 
        DWORD dwGrpID, 
        HWND hWNDMagnify 
);

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.
hWndMagnify HWND Handle of GUI Magnify window.

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:

Display, GUI Windows

Example:

 
Copy Code
HIGEAR   hIGear;    /* Global HIGEAR handle of image in parent window */
HWND    hWndMagnify;/* Global HIGEAR handle of Magnify window     */
IG_GUI_magnify_update ( hIGear, IG_GRP_DEFAULT, hWndMagnify );