This function returns the group ID of the specified magnify window.
| 
                        Copy Code
                     | |
|---|---|
| 
AT_ERRCOUNT ACCUAPI IG_GUI_magnify_GrpID_get(
        HWND hwndMag,      
        DWORD* pdwGrpID
);
 | |
| Name | Type | Description | 
|---|---|---|
| HwndMag | HWND | Handle to magnify the window. | 
| PdwGrpID | DWORD* | Pointer to where the magnify window group ID is to be received. | 
Returns the number of ImageGear errors that occurred during this function call.
This function does not process image pixels.
None
| 
                        Copy Code
                     | |
|---|---|
| 
/* Updating magnify window with new gamma correction:?*/
      DWORD dwGrpID;
    IG_GUI_magnify_GrpID_get(hwndMag, &dwGrpID);
IG_dspl_gamma_correction_set(hIGear, dwGrpID, IG_DSPL_ALL_CHANNELS, 1.0, 1.0, 1.0);
InvalidateRect(hwndMag, NULL, FALSE);
UpdateWindow(m_hwndMag);
 | |
This value can be used for magnify window display attribute corrections.