au3scr Posted February 24, 2008 Share Posted February 24, 2008 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 . Link to comment Share on other sites More sharing options...
Siao Posted February 24, 2008 Share Posted February 24, 2008 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" Link to comment Share on other sites More sharing options...
au3scr Posted February 24, 2008 Author Share Posted February 24, 2008 (edited) I mean remove backgound, nah i have too bad english to say it , i hope it helps u understand mei should look this picture in full size Edited February 24, 2008 by au3scr Link to comment Share on other sites More sharing options...
Achilles Posted February 24, 2008 Share Posted February 24, 2008 (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 February 24, 2008 by Achilles My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list] Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted February 24, 2008 Moderators Share Posted February 24, 2008 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. Link to comment Share on other sites More sharing options...
Achilles Posted February 24, 2008 Share Posted February 24, 2008 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] Link to comment Share on other sites More sharing options...
au3scr Posted February 24, 2008 Author Share Posted February 24, 2008 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 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