Sign in to follow this  
Followers 0
Marius

picture over picture?

3 posts in this topic

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! :)

Share this post


Link to post
Share on other sites



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

 

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

ok. thanks. :) Already found another way, just by putting

GUICtrlSetState($pic2, $GUI_HIDE)

GUICtrlSetState($pic2, $GUI_SHOW)

after second pic. :evil:

Edited by Marius

Marius back in da hood! :)

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