Sign in to follow this  
Followers 0
JohnOne

(Solved)System Background Color

3 posts in this topic

#1 ·  Posted (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 by JohnOne

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Share this post


Link to post
Share on other sites



Take a look at the GUIConstantsEx:

Global Const $GUI_BKCOLOR_DEFAULT = -1

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