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: Adam Ernst <adamernst at hasd dot org>
Date: Fri, 4 Jul 2003 20:20:07 -0400
You should just be able to say:

window1.menubarvisible = false
window1.fullscreen = true

And that's it. I didn't test it though, so I'm not sure.

Adam Ernst
cosmicsoft

On Friday, July 4, 2003, at 08:00 PM, 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

(the black window contains a canvas showing pictures)

I ask, because I want to be sure that the bottom portion of a Win32 screen too will be covered by my window. Unfortunately I dont have any way to test this code on a windows PC.

If any other procedure is necessary, I'll appreciate suggestions/corrections.
thanks

--
Carlo Rubini

---
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/>



---
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>