the gui looks like this
has the following elements
-background (red carpet)
-table (png transparent background)
-avatars (png transparent background(smaller)
-the buttons
if i do it with Noel's technique and press the button the table disappears (the two avatars stay- although they are partly ON the table)
here is the code if it helps:
Code:
gui,add, picture,x0 y0, table.jpg ;Background
gui,add, picture,x0 y0 BackgroundTrans, TableRT.png ; Table
gui,add, picture,x270 y206 BackgroundTrans vflop1,
gui,add, picture,x323 y206 BackgroundTrans vflop2,
gui,add, picture,x376 y206 BackgroundTrans vflop3,
gui,add, picture,x429 y206 BackgroundTrans vturn,
gui,add, picture,x481 y206 BackgroundTrans vriver,
gui,add, picture,x48 y184 BackgroundTrans vplayerCard1,
gui,add, picture,x65 y184 BackgroundTrans vplayerCard2,
gui,add, picture,x678 y184 BackgroundTrans vcpuCard1, 7d.png
gui,add, picture,x695 y184 BackgroundTrans vcpuCard2, back.png
gui,add, picture,x0 y210 BackgroundTrans vseat1, SeatRT_Off.png
gui,add, picture,x628 y210 BackgroundTrans vseat2, SeatRT_Off.png
gui,add, picture,x105 y227 BackgroundTrans vavatar1, avatar1.png
gui,add, picture,x735 y227 BackgroundTrans vavatar2, avatar2.png
gui,add, picture,x490 y490 BackgroundTrans AltSubmit gToExecute , SmallButton_On.png
gui,add, picture,x490 y490 BackgroundTrans AltSubmit gToExecute , SmallButton_Off.png
gui,add, picture,x594 y490 BackgroundTrans, SmallButton_Off.png
gui,add, picture,x699 y490 BackgroundTrans, SmallButton_Off.png
gui, font,c0xFFFFFF s6,
gui, add, text, x39 y233 BackgroundTrans,PLayer1
gui, add, text, x669 y233 BackgroundTrans,Player2
gui, font,c0xFFFFFF s6 bold ,
gui, add, text, x35 y248 BackgroundTrans,$40,000
gui, add, text, x675 y248 BackgroundTrans,$137
gui,show,h547 w794 , New GUI Window 1 ;
return
ToExecute:
GuiControl,hide,static3
Loop {
If ! GetKeyState( "LBUTTON", "P" )
Break
Sleep 50
}
GuiControl,Show,static3
Return