Jump to content

Recommended Posts

Posted

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

Posted

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 ?

Posted

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.

Posted

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...