Close Gui Window But Not Exit Program?

10 posts in this topic

Neoborn 0

I have an "about" window that when the user is done reading it I want it to close but the function for the window uses exit instead of just closing it exits my whole program. How do I close just the about box and not exit the whole program?

Share this post

Link to post

Share on other sites

Paulie 26

I have an "about" window that when the user is done reading it I want it to close but the function for the window uses exit instead of just closing it exits my whole program. How do I close just the about box and not exit the whole program?

Share this post

Link to post

Share on other sites

Simucal 1

AutoIt Scripts:Aimbot: Proof of Concept - PixelSearching Aimbot with several search/autoshoot/lock-on techniques.Sliding Toolbar - Add a nice Sliding Toolbar to your next script. Click the link to see an animation of it in action!FontInfo UDF - Get list of system fonts, or search to see if a particular font is installed.Get Extended Property UDF - Retrieve a files extended properties (e.g., video/image dimensions, file version, bitrate of song/video, etc)

Share this post

Link to post

Share on other sites

seandisanti 1

This is a viable option... But if I wish use again the GUI, this is not a viable option.

For the moment there no option to "unload" a GUI. There is only :

1. delete the GUI,

2. hide the GUI,

Is this correct ?

G.

that is correct. the way that i typically do it, is i'll have the gui creation code in a function of it's own, that's called at the beginning of the script. then if the gui is no longer needed for a while, i'll GUIDelete() it, and when it's needed again, i'll just call the creation function again...

1100111 00001011101111 00011101101111 00010111100100 00001111110100 00110111110010 00101101111001 0011100i didn't make up this form of encryption, but i like it.credit to the lvl 6 challenge on arcanum.co.nz

Share this post

Link to post

Share on other sites

Simucal 1

that is correct. the way that i typically do it, is i'll have the gui creation code in a function of it's own, that's called at the beginning of the script. then if the gui is no longer needed for a while, i'll GUIDelete() it, and when it's needed again, i'll just call the creation function again...

Yea, that is what I implicitly meant when I said GUIDelete(). To have the creation of the GUI in the function that calls it. Thanks for clarifying cameronsdad

AutoIt Scripts:Aimbot: Proof of Concept - PixelSearching Aimbot with several search/autoshoot/lock-on techniques.Sliding Toolbar - Add a nice Sliding Toolbar to your next script. Click the link to see an animation of it in action!FontInfo UDF - Get list of system fonts, or search to see if a particular font is installed.Get Extended Property UDF - Retrieve a files extended properties (e.g., video/image dimensions, file version, bitrate of song/video, etc)

Share this post

Link to post

Share on other sites

seandisanti 1

Yea, that is what I implicitly meant when I said GUIDelete(). To have the creation of the GUI in the function that calls it. Thanks for clarifying cameronsdad

great minds, right? np, always glad to help

1100111 00001011101111 00011101101111 00010111100100 00001111110100 00110111110010 00101101111001 0011100i didn't make up this form of encryption, but i like it.credit to the lvl 6 challenge on arcanum.co.nz