Jump to content
Sign in to follow this  
zFrank

transparent Title of my GUI

Recommended Posts

PsaltyDS

hi there, can i just make the title of my window ransparent? i am not talking about the whole window. how to do it?

How would that be different from a dialog box with no title bar, which you already achieve with styles?
#include <WindowsConstants.au3>

$hGui = GUICreate("", 300, 200, 300, 300, $WS_POPUPWINDOW, Default)
$ctrlButton = GUICtrlCreateButton("Close", 100, 100, 100, 30)
GUISetState()
Do
    Sleep(20)
Until GUIGetMsg() = $ctrlButton

Edit: Added demo.

;)

Edited by PsaltyDS

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites
NELyon

How would that be different from a dialog box with no title bar, which you already achieve with styles?

#include <WindowsConstants.au3>

$hGui = GUICreate("", 300, 200, 300, 300, $WS_POPUPWINDOW, Default)
$ctrlButton = GUICtrlCreateButton("Close", 100, 100, 100, 30)
GUISetState()
Do
    Sleep(20)
Until GUIGetMsg() = $ctrlButton

Edit: Added demo.

;)

I believe he meant semitransparent. The only way I could see that happening is making a superthin GUI with nothing but a titlebar as a parent to the main window. Make the parent window always a certain offset of the child (Or vice versa), then set the parent window transparent. Confusing?

Share this post


Link to post
Share on other sites
Szhlopp

Confused ;)

how to do it? i really could not understand.

You can do whatever you want with a good photo program...

PNG's are your friend=)

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  

×