LithiumLi Posted March 5, 2009 Share Posted March 5, 2009 (edited) I need help with transparent pictures, I want the color to be transparent like a GIF instead of being able to click through my GUI.I also would like to move the picture as I need to... have had problems moving a child transparent picture GUI #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> $Main = GUICreate("" , 800 , 600) $Form1 = GUICreate("Form1", 200, 50, 0, 0 , Default , $WS_EX_LAYERED , $Main) GUICtrlCreatePic("yip.bmp" , 0 , 0 , 200 , 50) GUISetState(@SW_SHOW) While 1 $Msg = GUIGetMsg() Switch $Msg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd Edited March 5, 2009 by LithiumLi Link to comment Share on other sites More sharing options...
Andreik Posted March 5, 2009 Share Posted March 5, 2009 DELETE MEFIXEDYou should not delete the question and post the answer for those who search for this subject. When the words fail... music speaks. Link to comment Share on other sites More sharing options...
LithiumLi Posted March 5, 2009 Author Share Posted March 5, 2009 (edited) You should not delete the question and post the answer for those who search for this subject. Ok ill remember for next time. Fixed #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> $Dummy = GUICreate("" , 800 , 600) $Main = GUICreate("Form1", 200, 50, 0, 0 , $WS_POPUP , $WS_EX_LAYERED + $WS_EX_MDICHILD , $Dummy) GUICtrlCreatePic("yip.bmp" , 0 , 0 , 200 , 50) GUISetState(@SW_SHOW, $Dummy) GUISetState(@SW_SHOW , $Main) While 1 $Msg = GUIGetMsg() Switch $Msg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd Edited March 5, 2009 by LithiumLi 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