Jump to content

transparent Title of my GUI


 Share

Recommended Posts

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
Link to comment
Share on other sites

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?
Link to comment
Share on other sites

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=)

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...