Jump to content

Transparent background


 Share

Recommended Posts

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

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...