Sign in to follow this  
Followers 0
Vindicator209

Transparent Label

5 posts in this topic

#1 ·  Posted (edited)

Hey, I have a pic serving as a background for my GUI, but my labels leave huge holes in the picture... is there anyway I can aviod this? so that only the text shows up?

GuiCreate("Trainer", 375, 480,-1, -1 , BitOR($WS_OVERLAPPEDWINDOW, $WS_POPUP))
$pic=GUICtrlCreatePic("gs3.bmp",0,0,375,480)
GUICtrlSetState($pic,$GUI_DISABLE)
$Label_1 = GuiCtrlCreateLabel("Trainer",110, 10, 200, 20)
$Input_2 = GuiCtrlCreateInput("", 10, 60, 90, 20)
$Label_3 = GuiCtrlCreateLabel("Gold Lock ALT + 1", 110, 60, 100, 20)
$Input_4 = GuiCtrlCreateInput("", 10, 90, 90, 20)
$Input_5 = GuiCtrlCreateInput("", 10, 120, 90, 20)
$Input_6 = GuiCtrlCreateInput("", 10, 150, 90, 20)
$Label_7 = GuiCtrlCreateLabel("FSPoints ALT + 2", 110, 90, 100, 20)
$Label_8 = GuiCtrlCreateLabel("Stamina ALT + 3", 110, 120, 130, 20)
$Label_9 = GuiCtrlCreateLabel("LVLUP POINTS ALT + 4", 110, 150, 130, 20)
$Input_10 = GuiCtrlCreateInput("", 10, 180, 90, 20)
$Label_11 = GuiCtrlCreateLabel("SKILL POINTS ALT + 5", 110, 180, 130, 20)
$Label_12 = GuiCtrlCreateLabel("Insane damage ALT + Q", 10, 210, 150, 20)
$Label_13 = GuiCtrlCreateLabel("Instant Level UP ALT + W", 10, 240, 150, 20)
$Label_14 = GuiCtrlCreateLabel("Auto REBUY ALT +E", 10, 270, 150, 20)
$Input_15 = GuiCtrlCreateInput($user, 10, 300, 210, 20)
$Label_16 = GuiCtrlCreateLabel("NAMEHACK ALT + R", 230, 300, 140, 20)
$Label_17 = GuiCtrlCreateLabel("Unlimited Deposit ALT + T", 10, 330, 190, 20)
$Label_18 = GuiCtrlCreateLabel("HP Lock ALT + CTRL + Z", 10, 360, 190, 20)
$Input_19 = GuiCtrlCreateInput("X", 10, 390, 50, 20)
$Input_20 = GuiCtrlCreateInput("Y", 70, 390, 60, 20)
$Label_21 = GuiCtrlCreateLabel("Move To Location CO ORDS ALT + CTRL + X", 140, 390, 230, 20)
$Label_22 = GuiCtrlCreateLabel("Insane Gain Per Hour ALT + CTRL + C", 10, 420, 190, 20)
$Label_23 = GuiCtrlCreateLabel("No Lottery Limit ALT + CTRL + V", 10, 450, 190, 20)
GuiSetState()
;more code here
Edited by MethodZero

[center]"When you look at old, classic games like Snake, you often put it off because it's such a simple game, but it's only when you actually try and create your own unique game from scratch, do you finally appreciate those games."[/center][center]Don't ask for answers if you haven't TRIED yet![/center][center]Most answers can be answered in the help file! Use it![/center]

Share this post


Link to post
Share on other sites



To set the background to transparent, use GUICtrlSetBkColor(-1, $GUI_BKCOLOR_TRANSPARENT).

Btw, there's a missing quotation-mark after "Trainer110".

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

oops, thats just something when I cleared the version.... ti was trainer 4.4 , but I cleaned that just so it didnt look like a newbie project I still needed help wif XD

thanks

Edited by MethodZero

[center]"When you look at old, classic games like Snake, you often put it off because it's such a simple game, but it's only when you actually try and create your own unique game from scratch, do you finally appreciate those games."[/center][center]Don't ask for answers if you haven't TRIED yet![/center][center]Most answers can be answered in the help file! Use it![/center]

Share this post


Link to post
Share on other sites

Btw, there's a missing quotation-mark after "Trainer110".

thanks for info ^^


:alien: ~ Every Living Thing is a Code Snippet of World Application ~ :alien:

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