LAttilaD Posted November 23, 2008 Share Posted November 23, 2008 After a long time of research, I've realized that the functions named ControlClick, ControlDisable etc. work with any given window, but the ones called GUICtrl* do work only with GUIs created in the same script. I've studied the source code of AnyGUI, too, but neither that helped. Is there a way to change colors of controls located in non-Autoit windows? I'm using my computer with white letters on a black background. Most programs have no problem with that, but there are some which have controls with black letter color hardcoded and no background color; therefore, they appear black on black. I would like to write a script which can recolorize such windows, but it seems that I can do anything with controls (enable/disable, focus/unfocus, show/hide), except a color change. Any help, please? Láng Attila D., LAttilaD.org Link to comment Share on other sites More sharing options...
Zedna Posted November 23, 2008 Share Posted November 23, 2008 I wonder you can't do this.You would need to subclass such control which (as I think) is not possible if it's in external application.Look here at some subclass info/examples:http://www.autoitscript.com/forum/index.php?showtopic=50768http://www.autoitscript.com/forum/index.ph...st&p=560762http://www.autoitscript.com/forum/index.ph...st&p=560929 Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
LAttilaD Posted November 23, 2008 Author Share Posted November 23, 2008 Thank you for helping me, Zedna. I've read over the examples you've provided, and couldn't understand anything. I've got no idea what is subclassing... but if you think it isn't possible in an external application, will knowing what's that help me anyway? Láng Attila D., LAttilaD.org Link to comment Share on other sites More sharing options...
Zedna Posted November 23, 2008 Share Posted November 23, 2008 Thank you for helping me, Zedna. I've read over the examples you've provided, and couldn't understand anything. I've got no idea what is subclassing... but if you think it isn't possible in an external application, will knowing what's that help me anyway? I'm not 100% sure about that (my previous post) - only 90%. Resources UDF ResourcesEx UDF AutoIt Forum Search 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