Docfxit Posted January 27, 2010 Share Posted January 27, 2010 (edited) I'm getting an error saying "Variable used without being declared"File MsgBox.au3#include <GUIConstantsEx.au3> GuiCreate("My Debug MsgBox", 200, 300, @DesktopWidth - 220, @DesktopHeight - 340, -1, $WS_EX_TOPMOST) GuiCtrlCreateLabel("Result of testing:", 10, 10, 180, 20) $Result = GuiCtrlCreateEdit("", 10, 40, 180, 180) $OK = GUICtrlCreateButton('OK', 50, 250, 100, 25) GuiSetState() While 1 $Msg = GUIGetMsg() Select Case $Msg = $GUI_EVENT_CLOSE Exit Case $Msg = $OK GUICtrlSetData ($Result, "") EndSelect WEndIt worked in an earlier version of AutoIt.I'm now using ver. 3.3.4In Windows sevenWin7Thanks,Docfxit Edited January 27, 2010 by docfxit Link to comment Share on other sites More sharing options...
James Posted January 27, 2010 Share Posted January 27, 2010 That would be because $WS_EX_TOPMOST is now declared in WindowsConstants.au3 Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
Docfxit Posted January 27, 2010 Author Share Posted January 27, 2010 That would be because $WS_EX_TOPMOST is now declared in WindowsConstants.au3 That worked great. I never would have guessed it.Thank you very much,Docfxit 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