VicTT Posted February 21, 2007 Posted February 21, 2007 (edited) I need to build the GUI EXACTLY like in the 2 pictures I uploaded..I don't know how to put the graphic of the button over the button control and NOT have them affect each other (such as, when clicking the Button, it gets on top of the graphic, and stuff like that)..Or how would I build those tabs, so that when I click them, an edit box to appear? EDIT: The tab thing would be solved through child-windows, but that still leaves the button-graphic problem unsolved..also, the only way I've thought about getting those tabs exactly like in the picture is putting a huge graphic control and checking for clicks on certain areas to activate a certain child window..If you have ideas, or even better...much better...excellent actually...SAMPLE CODE...I'd be more than happy...I'd be extatic... Edited February 21, 2007 by VicTT Quote Together we might liveDivided we must fall
Valuater Posted February 21, 2007 Posted February 21, 2007 easy, just set the pic as a background - disable it - place a label on top - use the labe for input 8)
VicTT Posted February 21, 2007 Author Posted February 21, 2007 (edited) Can you demonstrate through a piece of code? EDIT: Especially referring to the "set the picture as a background" and "disable it" part. EDIT2: Disabling it through GuiCtrlSetState(-1,$GUI_DISABLE). Edited February 21, 2007 by VicTT Quote Together we might liveDivided we must fall
Valuater Posted February 21, 2007 Posted February 21, 2007 you should be the one showing code and i help... anyways #include<guiconstants.au3> $Pic_Folder = "C:\temp\bkg.bmp" GUICreate("pic test", 184,534, -1, -1, $WS_POPUP) GUICtrlCreatePic( $Pic_Folder, 0,0, 184, 534) GUICtrlSetState( -1, $GUI_DISABLE) $enter = GUICtrlCreateLabel( "" , 40, 172, 90, 22) GUICtrlSetBkColor( -1, $GUI_BKCOLOR_TRANSPARENT ) GUISetState() While 1 $msg = GUIGetMsg() If $msg = -3 Then Exit If $msg = $enter Then MsgBox(0,0, "Do your stuff") WEnd 8)
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now