Mat Posted June 5, 2011 Posted June 5, 2011 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? AutoIt Project Listing
Administrators Jon Posted June 5, 2011 Administrators Posted June 5, 2011 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)
Mat Posted June 6, 2011 Author Posted June 6, 2011 R2_NOTXORPEN does the trick R2_NOT fills the whole rectangle inverted which is not what we want. Thanks again Jon AutoIt Project Listing
Administrators Jon Posted June 6, 2011 Administrators Posted June 6, 2011 Oh I think we used a hollowbrush as well or something, been a while since I looked.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now