Jump to content

GUI graphic-over-control help


VicTT
 Share

Recommended Posts

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...

post-5442-1172092527_thumb.jpg

post-5442-1172092538_thumb.jpg

Edited by VicTT
Quote

Together we might liveDivided we must fall

 

Link to comment
Share on other sites

Can you demonstrate through a piece of code?:whistle:

EDIT: Especially referring to the "set the picture as a background" and "disable it" part.

EDIT2: Disabling it through GuiCtrlSetState(-1,$GUI_DISABLE).

Edited by VicTT
Quote

Together we might liveDivided we must fall

 

Link to comment
Share on other sites

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)

NEWHeader1.png

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...