Jump to content

problem with childguis

Recommended Posts

i have 1 maingui and a child, gui... the maingui got a background and the childgui should be over the maingui, but it still not works... the childgui is under the maingui, and the picture in the childgui isnt transparent, too...

$mainGUI = GuiCreate("Spacewar", 800, 600,(@DesktopWidth-800)/2, (@DesktopHeight-600)/2)

$Background = GuiCtrlCreatePic("Grafiken\bg.bmp", 0, 0, 800, 600)
GUICtrlSetState($Background, $GUI_DISABLE)



$LayerGUI = GUICreate("", 800, 600, 0, 0, $WS_CHILD, $WS_EX_LAYERED, $mainGUI)
$Raumschiff = GUICtrlCreatePic("Grafiken\Raumschiffe\Raumschiff.gif", (800-32)/2, 500, 32, 32)

hope someone can help me...

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...