Marius Posted July 15, 2005 Share Posted July 15, 2005 Ok, I made a gui with background picture on it (disabled it) Now, what I must to do for another picture (GUICTRLCREATEPIC) to appear over the background. Tried averything, but nothing worked Marius back in da hood! :) Link to comment Share on other sites More sharing options...
GaryFrost Posted July 15, 2005 Share Posted July 15, 2005 #include <GuiConstants.au3> GuiCreate("MyGUI", 392, 323) $Pic = GUICtrlCreatePic(@ScriptDir & "\thinker_wall_1024x768.jpg",0,0,392,323) $Pic2 = GUICtrlCreatePic(@ScriptDir & "\matrix_wall_1024x768.jpg",50,50,50,50) $Label_1 = GuiCtrlCreateLabel("This is my label", 150, 200, 170, 60,-1,$WS_EX_TRANSPARENT) GUICtrlSetState($Pic,$GUI_DISABLE) GuiSetState() While 1 $msg = GuiGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop Case Else ;;; EndSelect WEnd Exit SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
Marius Posted July 15, 2005 Author Share Posted July 15, 2005 (edited) ok. thanks. Already found another way, just by putting GUICtrlSetState($pic2, $GUI_HIDE) GUICtrlSetState($pic2, $GUI_SHOW) after second pic. Edited July 15, 2005 by Marius Marius back in da hood! :) Link to comment Share on other sites More sharing options...
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