WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Using Window Buttons (https://forum.worldviz.com/showthread.php?t=1311)

Uttama_vizard 01-16-2008 11:13 AM

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

farshizzo 01-16-2008 11:16 AM

You can completely hide the window border and controls using the following command:
Code:

viz.window.setBorder(viz.BORDER_NONE)

Uttama_vizard 01-16-2008 11:25 AM

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


All times are GMT -7. The time now is 09:37 PM.

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