Lord_Doominik Posted June 5, 2005 Posted June 5, 2005 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) ;Graphics $Background = GuiCtrlCreatePic("Grafiken\bg.bmp", 0, 0, 800, 600) GUICtrlSetState($Background, $GUI_DISABLE) GUICreate() ... $LayerGUI = GUICreate("", 800, 600, 0, 0, $WS_CHILD, $WS_EX_LAYERED, $mainGUI) $Raumschiff = GUICtrlCreatePic("Grafiken\Raumschiffe\Raumschiff.gif", (800-32)/2, 500, 32, 32) GUISetState() hope someone can help me...
buzz44 Posted June 5, 2005 Posted June 5, 2005 (edited) GUICtrlCreatePic("Grafiken\Raumschiffe\Raumschiff.gif", (800-32)/2, 500, 32, 32,$WS_EX_TRANSPARENT)For transparent picture.Edit: Actually I don't know. Edited June 5, 2005 by Burrup qq
Lord_Doominik Posted June 5, 2005 Author Posted June 5, 2005 this dnt works... tryed it already... then the picture disappears completely and not onyl the set transparent color... and i need help too with the problem, that the childwindow isnt OVER the maingui...
quaizywabbit Posted June 5, 2005 Posted June 5, 2005 BitOr($WS_CHILD, $WS_EX_LAYERED) [u]Do more with pre-existing apps![/u]ANYGUIv2.8
Lord_Doominik Posted June 5, 2005 Author Posted June 5, 2005 (edited) dont works... for my first question i have an answer... i need to make the maingui a child of the layergui... but now i need the transparence... Edited June 5, 2005 by Lord_Doominik
GrungeRocker Posted June 5, 2005 Posted June 5, 2005 BitOr($WS_CHILD, $WS_EX_LAYERED)<{POST_SNAPBACK}>hmm i tried this and it worked fine! [font="Verdana"]In work:[list=1][*]InstallIt[*]New version of SpaceWar[/list] [/font]
Lord_Doominik Posted June 5, 2005 Author Posted June 5, 2005 o.O... i tryed it too, and it dont worked....
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