Jump to content
Sign in to follow this  
IfThen

Disable focus

Recommended Posts

IfThen

Hello, i have embedded browser which navigate to some pages, everytime it chage the page it take focus... how can i do to make this embedded browser not to take focus never?

Share this post


Link to post
Share on other sites
somdcomputerguy
Function WinSetState? This won't keep window from getting focus, probably take it away though.. Edited by snowmaker

- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

Share this post


Link to post
Share on other sites
picea892

GUISetState(@SW_SHOWNOACTIVATE)

Share this post


Link to post
Share on other sites
IfThen

GUISetState(@SW_SHOWNOACTIVATE)

It works in the same way... I don't know why

Share this post


Link to post
Share on other sites
IfThen

Hello, i have embedded browser which navigate to some pages, everytime it chage the page it take focus... how can i do to make this embedded browser not to take focus never?

I continue looking for a solution, if anybody know it let me know.

Share this post


Link to post
Share on other sites
somdcomputerguy

How about.. (re)assign focus to last active window. This would be easier of course if the last active window is known, but I'm sure it can be done even if not known..


- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

Share this post


Link to post
Share on other sites
picea892

This solution may be of interest to you

http://www.autoitscript.com/forum/index.php?showtopic=97867&st=30

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.