Ruud0209 1 Posted September 21, 2006 Hi, How do I best open and close GUI 's I create ? I've made this app wich let's me open a "setttings window" from wich I can call another GUI. When i close the second GUI the first does not respond to buttons anymore. All GUI's are in seperate functions exept for the Main Application one. I've been fiddling with @SW_SHOW and HIDE and GuiDelete() and even winhandle but I guess I don't understand the concept clearly enough to make it work for me. :"> My question is : How do I go about considdering I create my GUI's in a function, or is this perhaps totaly wrong and should I create all GUI's in the Main App and show/hide them when needed ? TIA Share this post Link to post Share on other sites
jvanegmond 303 Posted September 21, 2006 Create all GUI's in the Main App and show/hide them when needed if multiple GUI's are needed at once> It might help to use OnEvent mode. This will be a tricky thing. Hide jvanegmond's signature Hide all signatures github.com/jvanegmond Share this post Link to post Share on other sites
Ruud0209 1 Posted September 21, 2006 Create all GUI's in the Main App and show/hide them when needed if multiple GUI's are needed at once> It might help to use OnEvent mode.This will be a tricky thing.Thanks, but it would need the winhandle then wouldn't it ? What's the easiest way to get this ?.Any links for apps/code that do this ? Share this post Link to post Share on other sites
jvanegmond 303 Posted September 21, 2006 (edited) GUICreate returns the winhandle I once wrote this, just a second.3d1t: http://www.autoitscript.com/forum/index.ph...c=29072&hl= Edited September 21, 2006 by Manadar Hide jvanegmond's signature Hide all signatures github.com/jvanegmond Share this post Link to post Share on other sites
Ruud0209 1 Posted September 21, 2006 GUICreate returns the winhandle I once wrote this, just a second.3d1t: <a href="http://www.autoitscript.com/forum/index.ph...c=29072&hl=" target="_blank">http://www.autoitscript.com/forum/index.ph...c=29072&hl=</a>I'm afraid that link is not working Share this post Link to post Share on other sites
jinxter 0 Posted September 21, 2006 (edited) should be ...http://www.autoitscript.com/forum/index.ph...c=29072&hl=the link is too long, and therefore it is shortening it, adding ........ (dots).h**p://www.autoitscript.com/forum/index.php?showtopic=29072&hl= is the correct syntax Edited September 21, 2006 by jinxter Hide jinxter's signature Hide all signatures > there are 10 types of people in the world, those who understand binary and those who don't. Share this post Link to post Share on other sites
jvanegmond 303 Posted September 21, 2006 I'm afraid that link is not working If you would have waited just 20 seconds. You had seen that I had already edited it. Besides, you can find the link between that mess yourself. The error was not on my side, it was on the forums, then it was yours. Sorry for the rant but that was just a dumb comment. Hide jvanegmond's signature Hide all signatures github.com/jvanegmond Share this post Link to post Share on other sites
Ruud0209 1 Posted September 21, 2006 If you would have waited just 20 seconds. You had seen that I had already edited it. Besides, you can find the link between that mess yourself. The error was not on my side, it was on the forums, then it was yours. Sorry for the rant but that was just a dumb comment.Sorry, didn't mean to put you off.I apologize for not waiting long enough and for not being smart enough to translate ...c to p?/showtopic, I've learned since then and I'll try to be be a little more patient next time.Thanks for the link, I hope it will set me in the right direction. Share this post Link to post Share on other sites