Jump to content

Checkbox/combo transparent?


iZafiro
 Share

Recommended Posts

Help......

I'm coding a autosender/autoclicker/autopresser/take screenshot program, and the functions are coming well..

Now I'm working to make the GUI look nicer...

Okay, I made a background, set the colours (I'm Singaporean, so I use British english) and now I'm getting my buttons, checkboxes, labels, and combos to be transparent..

Labels: done

Buttons: done

But no matter what I try, neither my checkboxes nor combos turn transparent!

help?

Here's one of my checkboxes and combos

And btw, I like to keep my codes small, so I always check up the value of constants in the help file

$WS_EX_TRANSPARENT = 0x00000020

$checkbox = GUICtrlCreateCheckbox("", 7, 27, 13, 13, -1, 0x00000020) ; eh I found that the only way to get the text beside the checkbox to be transparent is to create a separate label
$combo = GUICtrlCreateCombo("1", 80, 163, 100, -1, 0x00000020)
GUICtrlSetData($spacing, "2|3|4|5", "1")

help?

Link to comment
Share on other sites

Oh! Yay, my hard work has paid off (partly)

Erm, I figured how to get a checkbox to be transparent

just go

GUICtrlSetBkColor($checkboxid, 0x00000020)

after the checkbox,

and Voila!

Hmm, but too bad GUICtrlSetBkColor can't be used with combos... (it's mentioned in the help file)

So, any help?

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...