ImageGear for C and C++ on Windows v20.5 - Updated
IG_GUI_pan_GrpID_get
API Reference Guide > Core Component API Reference > Core Component Functions Reference > GUI Functions > GUI Pan Functions > IG_GUI_pan_GrpID_get

This function returns the group ID of the specified pan window.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_GUI_pan_GrpID_get(
        HWND hwndPan,      
        DWORD* pdwGrpID
);

Arguments:

Name Type Description
HwndPan HWND Handle to the Pan Window.
PdwGrpID DWORD* Pointer to where the Pan window group ID is to be received.

Return Value:

Returns the number of ImageGear errors that occurred during this function call.

Supported Raster Image Formats:

This function does not process image pixels.

Sample:

None

Example:

 
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);

Remarks:

This group ID value can be used for pan window display attribute corrections.

Is this page helpful?
Yes No
Thanks for your feedback.