MCP Posted October 8, 2007 Share Posted October 8, 2007 (edited) I know I have full control of any GUI I create by using the window handle I get at the creation time, but what about a MsgBox? While closing the application, I would like to catch my currently open MsgBox popups and close them automatically. Is there a "clean" way to catch them, or do I have to loop between the existing windows and look for a specific text occurrence and then send the right hotkey? The solution I have currently found is recreating the GUI in a MsgBox way and that would allow me a consistent approach. Thx in advance. Edited October 8, 2007 by MCP Link to comment Share on other sites More sharing options...
McGod Posted October 8, 2007 Share Posted October 8, 2007 Your best bet is to make a GUI msgbox, then array the handles. [indent][center][u]Formerly Chip[/u][/center]~UDFs~[/indent][u]IRC.au3 - Allows you to connect to IRC ServersINetCon.au3 - Connects/Disconnects/Check Status of InternetHardware Key - Creates a unique hardware hashScriptComm - Allows you to communicate between scripts using WM_COPYDATA[/u][indent]~Programs~[/indent][indent]SimonAu3ForumsIRC Bot~Web Site~Web Autoit Example[/indent][indent][b][/b][/indent][u][/u] 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