Sign in to follow this  
Followers 0
AzKay

How do I have, Just part transparent?

5 posts in this topic

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

Share this post


Link to post
Share on other sites



#2 ·  Posted (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 by SmOke_N

[center]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.[/center]

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

[center]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.[/center]

Share this post


Link to post
Share on other sites

Well, Ill try it out then :P

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

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