ImageGear for C and C++ on Windows v19.10 - Updated
IG_gui_load_url_dlg
API Reference Guide > GUI Component API Reference > GUI Component Functions Reference > Load Functions > IG_gui_load_url_dlg

This function opens "Load URL..." dialog that allows you to input parameters required to load image from Internet.

Declaration:

 
Copy Code
BOOL  ACCUAPI  IG_gui_load_url_dlg(
        HWND hWnd,
        LPAT_IGGUI_URL_INFO lpURLInfo
);

Arguments:

Name Type Description
hWnd HWND A handle of the parent window.
lpURLInfo LPAT_IGGUI_URL_INFO A pointer to the AT_IGGUI_URL_INFO structure.

Return Value:

Function returns TRUE if OK button is clicked; or FALSE otherwise.

Supported Raster Image Formats:

All pixel formats supported by ImageGear for C and C++.

Remarks:

This function takes a handle of dialog's parent window and fills AT_IGGUI_URL_INFO structure on successful return. The fields of this structure are a collection of parameters necessary to call InternetConnect and InternetOpen functions.