JohnOne Posted July 19, 2012 Share Posted July 19, 2012 (edited) Is there a constant to set a control background colour to that of the system default, ie. same colour as a bog standard gui?Specifically a tab control which is by default white. my poor search skills have failed me.EDIT:This does not seem to do the trick.GUICtrlSetBkColor(-1,_WinAPI_GetSysColor($COLOR_WINDOW))EDIT2:Looks like this might be the only way to emulate tab background color. Edited July 19, 2012 by JohnOne AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
veronesi Posted July 19, 2012 Share Posted July 19, 2012 Take a look at the GUIConstantsEx: Global Const $GUI_BKCOLOR_DEFAULT = -1 Link to comment Share on other sites More sharing options...
JohnOne Posted July 19, 2012 Author Share Posted July 19, 2012 Thank you AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. 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