Sign in to follow this  
Followers 0
LAttilaD

ControlSet[Bk]Color

4 posts in this topic

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

Share this post


Link to post
Share on other sites



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=50768

http://www.autoitscript.com/forum/index.ph...st&p=560762

http://www.autoitscript.com/forum/index.ph...st&p=560929

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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%.

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