Jump to content
Sign in to follow this  
BALA

$DS_SETFOREGROUND

Recommended Posts

BALA

I want to create an input control that is READONLY, but has the normal white color rather than being greyed-out. So I think $DS_SETFOREGROUND is what I want to use, but how do I use this style?


[font="Comic Sans MS"]BA-LA[/font]http://ba-la.110mb.comJoin my community, CLICK HEREAlternative links to my site:http://www.ba-la.tkhttp://www.ba-la.co.nrContact me if you would like to help with some of my projects: joeythepirate@gmail.com

Share this post


Link to post
Share on other sites
PsaltyDS

I want to create an input control that is READONLY, but has the normal white color rather than being greyed-out. So I think $DS_SETFOREGROUND is what I want to use, but how do I use this style?

I don't think that particular style has anything to do with foreground color. It's a dialog box style related to desktop foreground (like always on top).

:)


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites
BALA

Oh, I suppose I've been out of AutoIt too long. :)

Well how would I set the color of an input control?

Edited by BALA

[font="Comic Sans MS"]BA-LA[/font]http://ba-la.110mb.comJoin my community, CLICK HEREAlternative links to my site:http://www.ba-la.tkhttp://www.ba-la.co.nrContact me if you would like to help with some of my projects: joeythepirate@gmail.com

Share this post


Link to post
Share on other sites
poisonkiller

Try GUICtrlSetBkColor ( $input, 0xFFFFFF)

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  

×