Jump to content

Recommended Posts

Posted

Set Window Extended Styles to $WS_EX_TRANSPARENT then you can have a transparent background while everything else stays

0x576520616C6C206469652C206C697665206C69666520617320696620796F75207765726520696E20746865206C617374207365636F6E642E

Posted

Set Window Extended Styles to $WS_EX_TRANSPARENT then you can have a transparent background while everything else stays

Can you give me an example with a few buttons? I tried that and it just makes the border disappear.

Posted

hey ive played around with the example a bit ive found that there has to be a window open under the tranceparent window for it to work, you could alwase through a splachimige up before the func, this is what i got

#include <GUIConstantsEx.au3>

#include <WindowsConstants.au3>

Opt('MustDeclareVars', 1)

Example1()

; example 1

Func Example1()

Local $msg

GUICreate("My GUI",200,200,-1,-1,$GUI_SS_DEFAULT_GUI ,$WS_EX_TRANSPARENT ) ; will create a dialog box that when displayed is centered

GUICtrlCreateButton("seen",5,5,50,30)

GUISetState(@SW_SHOW) ; will display an empty dialog box

; Run the GUI until the dialog is closed

While 1

$msg = GUIGetMsg()

If $msg = $GUI_EVENT_CLOSE Then ExitLoop

WEnd

GUIDelete()

EndFunc ;==>Example1

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
×
×
  • Create New...