PDA

View Full Version : Using Window Buttons


Uttama_vizard
01-16-2008, 10:13 AM
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, 10:16 AM
You can completely hide the window border and controls using the following command:viz.window.setBorder(viz.BORDER_NONE)

Uttama_vizard
01-16-2008, 10:25 AM
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