ImageGear for C and C++ on Windows v20.0 - Updated
IG_gui_center_window
API Reference Guide > GUI Component API Reference > GUI Component Functions Reference > General Functions > IG_gui_center_window

This function centers the child window in the parent window.

Declaration:

 
Copy Code
VOID ACCUAPI IG_gui_center_window(
   HWND hChild,
   HWND hParent
);

Arguments:

Name Type Description
hChild HWND The HWND handle of the child window to be centered.
hParent HWND The HWND handle of the parent window.

Supported Raster Image Formats:

This function does not process image pixels.

Sample:

None

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