Sign in to follow this  
Followers 0
wonnylee

how do i show IE creating with IECREATE hiding option enabled?

4 posts in this topic

how do i show IE creating with IECREATE hiding option enabled?

_IECREATE("yahoo.co.kr", 0, 0)

I created IE with hiding option enabled, but how can i show it again?

It doesn't work with guisetstate(@SW_SHOW)

Share this post


Link to post
Share on other sites



Try:

$oIE = _IECreate("www.yahoo.co.kr", 0, 0)
_IEAction($oIE, "visible")

Share this post


Link to post
Share on other sites

Try:

$oIE = _IECreate("www.yahoo.co.kr", 0, 0)
_IEAction($oIE, "visible")

How about @SW_MAXIMIZE option.

I want IE to be created maximized.

Share this post


Link to post
Share on other sites

You can make it maximized after it has been created and made visible by getting the window handle to the browser with _IEPropertyGet, then setting it to maximized with WinSetState:

$oIE = _IECreate("www.yahoo.co.kr", 0, 0)
_IEAction($oIE, "visible")
WinSetState(_IEPropertyGet($oIE, "hwnd"), "", @SW_MAXIMIZE)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0