Sign in to follow this  
Followers 0
Mat

Winfo-like window outlining

5 posts in this topic

I have seen a number of application make frames like AutoIt's window info does (the black inverted frame), but can't find anything in the windows api. I've even tried using a winapi monitoring program to try and find out. How is this done?

Share this post


Link to post
Share on other sites



I have seen a number of application make frames like AutoIt's window info does (the black inverted frame), but can't find anything in the windows api. I've even tried using a winapi monitoring program to try and find out. How is this done?

It's just a rectangle using the R2_NOT mode to invert the colours. You draw it again with R2_NOT to re-invert (i.e. to remove the highlight)

Share this post


Link to post
Share on other sites

R2_NOTXORPEN does the trick ;) R2_NOT fills the whole rectangle inverted which is not what we want.

Thanks again Jon :huh2:

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