![]() |
|
|
|
#1
|
|||
|
|||
|
Hello? Can anybody help me?
|
|
#2
|
|||
|
|||
|
Are you trying to exit your entire application when the key is pressed, or just close the Vizard window?
If you are trying to exit the entire app, then you need to call the Close() method of your MainFrame class. If you want to just close the Vizard window, then this is not possible. You can only call viz.go() once, so you can only create a single Vizard window for the duration of your script. To deal with this limitation you can create the Vizard window during startup and make the window visible/hidden to simulate creating/destroying the window. |
|
#3
|
|||
|
|||
|
Thank you very mutch for this information. It helps me a lot. I try to exit the Vizard window and create another one while the main frame is running. But I will handle this by antoher way.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| vizard quit automatically in full screen stereo mode | fuyonggang | Vizard | 3 | 09-15-2008 10:51 AM |
| closing files on a force quit | vadrian | Vizard | 1 | 02-14-2005 12:38 PM |
| embedded Vizard | tavaksai | Vizard | 5 | 12-21-2004 08:49 AM |