Mack Posted August 19, 2005 Share Posted August 19, 2005 when i insert this #include <GUIConstants.au3> GUICtrlCreateLabel ( "my label which will split on several lines", 10,20, 100, 100) ;GUICtrlSetStyle (-1, $SS_RIGHT ) GUICreate("My GUI" ,250,150 ,$WS_EX_WINDOWEDGE) ; will create a dialog box that when displayed is centered GUISetState (@SW_SHOW) ; will display an empty dialog box GUICtrlCreateButton ("One", 10, 10, 100) GUICtrlCreateButton ("Two", 10, 40, 100) GUICtrlCreateButton ("Three", 10, 70, 100) GUICtrlCreateButton ("Four", 10, 100, 100) ; Run the GUI until the dialog is closed While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then ExitLoop Wend it doesnt show a transperant GUI box Ive already included GUIConstants.au3 Link to comment Share on other sites More sharing options...
Somerset Posted August 19, 2005 Share Posted August 19, 2005 #include <GUIConstants.au3> GUICtrlCreateLabel ( "my label which will split on several lines", 10,20, 100, 100) ;GUICtrlSetStyle (-1, $SS_RIGHT ) GUICreate("My GUI" ,250,150 ,$WS_EX_WINDOWEDGE); will create a dialog box that when displayed is centered GUISetState (@SW_SHOW) ; will display an empty dialog box GUICtrlCreateButton ("One", 10, 10, 100) GUICtrlCreateButton ("Two", 10, 40, 100) GUICtrlCreateButton ("Three", 10, 70, 100) GUICtrlCreateButton ("Four", 10, 100, 100) WinSetTrans ( "My GUI", "", 128) ; Run the GUI until the dialog is closed While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then ExitLoop Wend something like this? 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