>--- Theo (delete at softhome dot net) on 6.12.01 5:38 AM wrote:
>>>> does anybody know how to blacken out the screen and keep only the
>>>> running program's window visible?
>
>>> Just put up a full-screen window behind all your other windows and
>>> paint it black.
>
>> Ok, I've seen this suggestion time and time again, but I've never
>> gotten
>> this work in a practical fashion. If the user clicks on the
>> full-screen window, it comes forward, covering all the other windows.
>
>I suppose one way is to just make the window with the border full
>screen, and move all the controls inward.
>
in this way you still get the window's borders visible. So I prefer to
this other way:
self.width = screen(0).width + 20 //just to be sure...
self.height = screen(0).height + 60
you still have the MenuBar visible, but there are ways to make it
invisible.
to come back to the normal window-size, put some code in the mousedown
event of the window.
So, this is the way I'm working now and I'm pretty satisfied, although
I'd like to know the way to blaken the screen in a way similar to
changing the monitor depth or resolution.
carlo
osb dot bdesh at katamail dot com
|