AzKay Posted September 5, 2006 Share Posted September 5, 2006 Okay, For example, I have a .gif, its all black, with a transparent circle in the middle, I make the form topmost, But now, how can I make the form transparent, but not the picture? I have tryed: #include <GUIConstants.au3> Opt("GUIOnEventMode", 1) ### Koda GUI section start ### $Form1 = GUICreate("AForm1", 372, 354, 190, 116) $Group1 = GUICtrlCreateGroup("AGroup1", 0, 0, 369, 353) $Pic1 = GUICtrlCreatePic("C:\Documents and Settings\Asus\Desktop\trans.gif", 8, 16, 353, 329, BitOR($SS_NOTIFY,$WS_GROUP)) GUICtrlCreateGroup("", -99, -99, 1, 1) GUISetState(@SW_SHOW) ### Koda GUI section end ### WinSetTrans("AForm1", "", 1) While 1 Sleep(100) WEnd But, that doesnt work, it makes the whole thing transparent, I want the whole form transparent, but not the image. # MY LOVE FOR YOU... IS LIKE A TRUCK- # Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted September 5, 2006 Moderators Share Posted September 5, 2006 (edited) I believe Larry made it possible to do with .bmps in Scripts and Scraps somewhere... and I know that Gary worked on some GUI editing as well.Edit:I think this is the one for Larry:http://www.autoitscript.com/forum/index.ph...c=19185&hl= Edited September 5, 2006 by SmOke_N Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
AzKay Posted September 5, 2006 Author Share Posted September 5, 2006 I believe Larry made it possible to do with .bmps in Scripts and Scraps somewhere... and I know that Gary worked on some GUI editing as well.Edit:I think this is the one for Larry:http://www.autoitscript.com/forum/index.ph...c=19185&hl=Interesting, So, I could get it doing the same thing as a gif? As in, the transparent part? # MY LOVE FOR YOU... IS LIKE A TRUCK- # Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted September 5, 2006 Moderators Share Posted September 5, 2006 Interesting, So, I could get it doing the same thing as a gif? As in, the transparent part?I am pretty sure, I don't personally use it though to be 100% on answering that. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
AzKay Posted September 5, 2006 Author Share Posted September 5, 2006 Well, Ill try it out then Shouldnt be too hard, I just, make the transparent part off the image, pink or something, then put that color in for the r g b. ^^ # MY LOVE FOR YOU... IS LIKE A TRUCK- # 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