realbasic-nug
[Top] [All Lists]

Re: blackening the screen in win32

To: REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: blackening the screen in win32
From: "Joseph J. Strout" <joe at realsoftware dot com>
Date: Fri, 4 Jul 2003 22:12:26 -0700
At 6:00 AM +0600 7/5/03, Carlo Rubini wrote:

Can anybody tell me if in a Windows environment, in order to completely black-out the screen, the following code works ok?

window1 is a window with backcolor black:
window1.menubarvisible = false
window1.height = screen(0).height + 30
window1.width = screen(0).width + 30
window1.top = 0
window1.left = 0

Well, I think it should, but easier (and more reliable) than manually setting the window size would be to just set window1.fullScreen = true.

Best,
- Joe

--
,------------------------------------------------------------------.
|    Joseph J. Strout           REAL Software, Inc.                |
|    joe at realsoftware dot com       http://www.realsoftware.com        |
`------------------------------------------------------------------'

---
A searchable archive of this list is available at:
<http://support.realsoftware.com/listarchives/search.php>

Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>
.


<Prev in Thread] Current Thread [Next in Thread>