WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 03-20-2009, 09:34 AM
levisii levisii is offline
Member
 
Join Date: Mar 2009
Posts: 8
Hello? Can anybody help me?
Reply With Quote
  #2  
Old 03-24-2009, 12:21 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
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.
Reply With Quote
  #3  
Old 04-01-2009, 04:39 AM
levisii levisii is offline
Member
 
Join Date: Mar 2009
Posts: 8
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.
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT -7. The time now is 11:36 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC