WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 01-16-2008, 10:13 AM
Uttama_vizard Uttama_vizard is offline
Member
 
Join Date: Sep 2007
Posts: 60
Using Window Buttons

I have been trying to activate and deactivate the mouse (while inside a vizard screen) in a timed fashion which are taking place very well. I am using the following codes:

#Turn off mouse navigation.
viz.mouse.setOverride(viz.ON)
#Hide the mouse cursor
viz.mouse.setVisible(viz.OFF)

But, the mouse operates for the window menu options (say Maximize, Minimize and Close buttons on the right hand top corner of the screen). Actually, I want my user not to be allowed any control (say maximize, minimize and Close of the window screen of the application running) in using these three options.

Thanks in advance for the valuable suggestion.

Uttama
Reply With Quote
  #2  
Old 01-16-2008, 10:16 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
You can completely hide the window border and controls using the following command:
Code:
viz.window.setBorder(viz.BORDER_NONE)
Reply With Quote
  #3  
Old 01-16-2008, 10:25 AM
Uttama_vizard Uttama_vizard is offline
Member
 
Join Date: Sep 2007
Posts: 60
Using Window buttons

Great! It works out very well. I am also using the following code to bring it back.

#Unide the window Border (standard border with resizing allowed)
viz.window.setBorder(viz.BORDER_RESIZE)

Thanks

Uttama
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
Full screen window changes to small window tacbob Vizard 1 04-04-2007 09:30 AM
Vanda(Wanda) buttons giancamati Vizard 1 12-07-2006 10:21 AM
How to get the window handle Joran Vizard 1 06-16-2006 11:01 AM
Interactive Window ChrisB Vizard 1 01-19-2005 10:36 AM
The error window that couldn't FlyingWren Vizard 2 12-02-2003 08:23 AM


All times are GMT -7. The time now is 07:22 PM.


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