Mat Posted June 5, 2011 Share 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 Link to comment Share on other sites More sharing options...
Administrators Jon Posted June 5, 2011 Administrators Share 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) Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
Mat Posted June 6, 2011 Author Share Posted June 6, 2011 Thanks Jon AutoIt Project Listing Link to comment Share on other sites More sharing options...
Mat Posted June 6, 2011 Author Share 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 Link to comment Share on other sites More sharing options...
Administrators Jon Posted June 6, 2011 Administrators Share Posted June 6, 2011 Oh I think we used a hollowbrush as well or something, been a while since I looked. Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
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