sandin Posted December 9, 2008 Share Posted December 9, 2008 how can I change txt color and background of _GUICtrlEdit_Create()? Some cool glass and image menu | WinLIRC remote controler | Happy Holidays to all... | Bounce the sun, a game in which you must save the sun from falling by bouncing it back into the sky | Hook Leadtek WinFast TV Card Remote Control Msges | GDI+ sliding toolbar | MIDI Keyboard (early alpha stage, with lots of bugs to fix) | Alt+Tab replacement | CPU Benchmark with pretty GUI | Ini Editor - Edit/Create your ini files with great ease | Window Manager (take total control of your windows) Pretty GUI! | Pop-Up window from a button | Box slider for toolbar | Display sound volume on desktop | Switch hotkeys with mouse scroll Link to comment Share on other sites More sharing options...
Zedna Posted December 9, 2008 Share Posted December 9, 2008 (edited) Look here:http://www.autoitscript.com/forum/index.php?showtopic=50768Subclassing - Subclassing an edit boxEDIT:Also look at another nice subclassing example using native DllCallbackRegister()http://www.autoitscript.com/forum/index.ph...st&p=560762 Edited December 9, 2008 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
sandin Posted December 10, 2008 Author Share Posted December 10, 2008 tnx for reply =) but the given example is using simple GuiCtrlCreateEdit() command, which color can be converted with GuiCtrlSetColor(), but it doesn't work with _GUICtrlEdit_Create() control. I also can not change this Edit's Font as with the simple Edit create control (GuiCtrlSetFont()). ;/ Some cool glass and image menu | WinLIRC remote controler | Happy Holidays to all... | Bounce the sun, a game in which you must save the sun from falling by bouncing it back into the sky | Hook Leadtek WinFast TV Card Remote Control Msges | GDI+ sliding toolbar | MIDI Keyboard (early alpha stage, with lots of bugs to fix) | Alt+Tab replacement | CPU Benchmark with pretty GUI | Ini Editor - Edit/Create your ini files with great ease | Window Manager (take total control of your windows) Pretty GUI! | Pop-Up window from a button | Box slider for toolbar | Display sound volume on desktop | Switch hotkeys with mouse scroll Link to comment Share on other sites More sharing options...
Zedna Posted December 10, 2008 Share Posted December 10, 2008 (edited) If you need change colors/fonts then look at RichEdit control.On the forum there are some UDFs for it. Edited December 10, 2008 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
sandin Posted December 10, 2008 Author Share Posted December 10, 2008 ok tnx, I'll try to do it with RichEdit. Some cool glass and image menu | WinLIRC remote controler | Happy Holidays to all... | Bounce the sun, a game in which you must save the sun from falling by bouncing it back into the sky | Hook Leadtek WinFast TV Card Remote Control Msges | GDI+ sliding toolbar | MIDI Keyboard (early alpha stage, with lots of bugs to fix) | Alt+Tab replacement | CPU Benchmark with pretty GUI | Ini Editor - Edit/Create your ini files with great ease | Window Manager (take total control of your windows) Pretty GUI! | Pop-Up window from a button | Box slider for toolbar | Display sound volume on desktop | Switch hotkeys with mouse scroll Link to comment Share on other sites More sharing options...
Valuater Posted December 10, 2008 Share Posted December 10, 2008 Here is another approacjhttp://www.autoitscript.com/forum/index.ph...st&p=4252628) Link to comment Share on other sites More sharing options...
sandin Posted December 10, 2008 Author Share Posted December 10, 2008 Tnx, I'll give it a try =) Some cool glass and image menu | WinLIRC remote controler | Happy Holidays to all... | Bounce the sun, a game in which you must save the sun from falling by bouncing it back into the sky | Hook Leadtek WinFast TV Card Remote Control Msges | GDI+ sliding toolbar | MIDI Keyboard (early alpha stage, with lots of bugs to fix) | Alt+Tab replacement | CPU Benchmark with pretty GUI | Ini Editor - Edit/Create your ini files with great ease | Window Manager (take total control of your windows) Pretty GUI! | Pop-Up window from a button | Box slider for toolbar | Display sound volume on desktop | Switch hotkeys with mouse scroll 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