Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / How to close a window gadget using BlueGUI

Author
Message
Mistrel
Retired Moderator
19
Years of Service
User Offline
Joined: 9th Nov 2005
Location:
Posted: 23rd Oct 2006 03:59 Edited at: 23rd Oct 2006 04:00
Getting the close button to work on BlueGUI window gadgets isn't explained the documentation. It look me a little while to figure it out so I thought it would be worthwhile to share an example.

In the main loop your program should always be checking for events. To catch a close window event and have it close the window currently in focus you would use an event like this:



http://3dfolio.com
Mistrel
Retired Moderator
19
Years of Service
User Offline
Joined: 9th Nov 2005
Location:
Posted: 23rd Oct 2006 04:26
Oh, look at that. I found all the examples.

http://3dfolio.com

Login to post a reply

Server time is: 2024-11-22 23:39:09
Your offset time is: 2024-11-22 23:39:09