Sign in to follow this  
Followers 0
MonyLogy

how do you make radio buttons/labels/buttons transparent

3 posts in this topic

Hey,

my friend figured out how to put a background on a application only the radio buttons/ labels/ buttons/ etc. are not transparent. I mean by this that you see the background only around the labels/buttons/radio buttons there is a gray box. Is there anyway to remove the gray box or make it transparent??

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

You could trim it like so, the last 2 values being 13,13 make it almost transparent "cheap I know" *edit you can always play with the (GUICtrlSetBkColor) feature

CODE
$Radio1 = GUICtrlCreateRadio("", 208, 80, 13, 13)

GUICtrlSetBkColor(-1, 0xFFFFFF)

Edited by lordicast

[Cheeky]Comment[/Cheeky]

Share this post


Link to post
Share on other sites

You could trim it like so, the last 2 values being 13,13 make it almost transparent "cheap I know" *edit you can always play with the (GUICtrlSetBkColor) feature

CODE
$Radio1 = GUICtrlCreateRadio("", 208, 80, 13, 13)

GUICtrlSetBkColor(-1, 0xFFFFFF)

try to do this:

#include <GUIConstants.au3>

DllCall("uxtheme.dll", "none", "SetThemeAppProperties", "int", 0)

GUICreate("My GUI", 330, 255, 376, 165)

GUISetBkColor(0x000000)

$Radio1 = GUICtrlCreateRadio("Send Space", 120, 59, 81, 17)

GUICtrlSetColor(-1, 0x00FFFF)

GUISetBkColor(-1, 0x000000)

GUISetState()

While 1

$msg = GUIGetMsg()

If $msg = $GUI_EVENT_CLOSE Then ExitLoop

Wend

Exit

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