Sign in to follow this  
Followers 0
au3scr

Trassparent object

7 posts in this topic

Is it possible to set 1 object transparent

fur example i want make this trasnparent GUICtrlCreateLabel("Version 0.99",10,@DesktopHeight -115, 150,15)

(not hide, just trasnparent like ghost or like glass .


Share this post


Link to post
Share on other sites



How hard is to open the helpfile for once, and read about GUICtrlCreateLabel. It HAS the answer to your question.


"be smart, drink your wine"

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

I mean remove backgound, nah i have too bad english to say it , i hope it helps u understand me

i should look this picture in full size

Posted Image

Edited by au3scr

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

GUICtrlSetBkColor(-1, $GUI_BKCOLOR_TRANSPARENT) ?

Edit: -1 is used if you are using this statement directly after creating the control. Otherwise assign the Control ID to a variable and use that instead of the -1.

Edited by Achilles

My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list]

Share this post


Link to post
Share on other sites

GUICtrlSetBkColor(-1, $GUI_BKCOLOR_TRANSPARENT) ?

Edit: -1 is the id for the label you want transparent, you might need to replace it with $label or likewise...

That's only if you use it directly after you make the control, it's not the "ID", it just falls back one (thus minus one).

To use the "ID" then create the control with a Variable, the variable will contain the Control ID.


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.

Share this post


Link to post
Share on other sites

That's only if you use it directly after you make the control, it's not the "ID", it just falls back one (thus minus one).

To use the "ID" then create the control with a Variable, the variable will contain the Control ID.

That's what I meant, but I realize that what I said didn't reflect what I meant. I'll edit my post to make it clear..

My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list]

Share this post


Link to post
Share on other sites

Thank you, very nice.

Where i can learn about these variables?

$GUI_BKCOLOR_TRANSPARENT

And where i can learn dll functions?

DllCall("kernel32.dll","int","TerminateProcess","int",$handle,"int",1)

Where i can read about functions int and TerminateProcess


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