Sign in to follow this  
Followers 0
marko29

Other windows stealing WinActivate()

2 posts in this topic

#1 ·  Posted (edited)

So i need to winactivate some window, click on it etc.. this works fine in situation where there are no other windows that also use winactivate(trough external dll and not autoit though, they pull it trough win api as well) so i wonder how i can prevent them from stealing WinActivate() to my other window that also needs it!

Anyone has a clue how i could solve this?

Edited by marko29

Share this post


Link to post
Share on other sites



Use WinGetState to see if a specific window is active, and WinActivate to give it focus if needed.


- 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

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