ATTACHBROWSER |
Top Previous Next |
Syntax INT = ATTACHBROWSER(win as WINDOW,OPT url as STRING) Description Embeds a browser control into the window specified. Parameters win - Window to embed the browser control into. url - Optional. Initial URL to browse to. Return value Returns 0 if the browser was successfully initialized and attached to the window or -1 on failure. Remarks Once embedded into a window the window will contain the browser control until it is destroyed with CLOSEWINDOW. The browser is automatically sized to the client area. The window should be created with the @NOAUTODRAW style to prevent flickering when the browser control is resized. The browser control requires Internet Explorer 4.0 or greater to be installed on the system See Also: BROWSECMD, sample browser_demo.eba Example usage IF ATTACHBROWSER(mywin, "http://www.ionicwind.com") = -1 |