This function returns the group ID of the specified pan window.
|
Copy Code
|
|
|---|---|
AT_ERRCOUNT ACCUAPI IG_GUI_pan_GrpID_get(
HWND hwndPan,
DWORD* pdwGrpID
);
|
|
| Name | Type | Description |
|---|---|---|
| HwndPan | HWND | Handle to the Pan Window. |
| PdwGrpID | DWORD* | Pointer to where the Pan 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 Pan window with new gamma correction: */
DWORD dwGrpID;
IG_GUI_pan_GrpID_get(hwndPan, &dwGrpID);
IG_dspl_gamma_correction_set(hIGear, dwGrpID, IG_DSPL_ALL_CHANNELS, 1.0, 1.0, 1.0);
InvalidateRect(hwndPan, NULL, FALSE);
UpdateWindow(m_hwndPan);
|
|
This group ID value can be used for pan window display attribute corrections.