ImageGear for C and C++ on Windows v21.0 - Updated
API Reference Guide / GUI Component API Reference / GUI Component Functions Reference / General Functions / IG_gui_center_window
In This Topic
    IG_gui_center_window
    In This Topic

    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