Window's desktop

hello
i have a question.
can i write directly to the winodws desktop with sdl?

thanks

hello
i have a question.
can i write directly to the winodws desktop with sdl?

Can you write directly to the MS Windows desktop with Windows API?
I think no.
You must use Microsoft’s ‘GetDesktopWindow’ etc…
In then draw the Desktop in your full screen window

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

Am Mittwoch, 13. August 2003 15:51 schrieb :

Can you write directly to the MS Windows desktop with Windows API?
Actully you can using WinAPI. (Which is the real WindowsAPI, you can’t with
MFC I think). All you have to do is pass screen for your DC parameter.

Still you can’t using SDL.#

greets
Matthias

P.S.: I just had to be a jerk on that one :wink:


Matthias Bach | GPG/PGP-Key-ID: 0xACA73EC9
www.marix-world.de | On Keyserver: www.keyserver.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE/Op5ulnJmS6ynPskRAioZAJ42lRwfGJmLANVPJ+zgWZq4sC5huACdGniz
xz0YxYLohepiTLkXyELZ9sA=
=1k0u
-----END PGP SIGNATURE-----

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi again!Am Mittwoch, 13. August 2003 22:24 schrieb Matthias Bach:

Am Mittwoch, 13. August 2003 15:51 schrieb :

Can you write directly to the MS Windows desktop with Windows API?

Actully you can using WinAPI. (Which is the real WindowsAPI, you can’t with
MFC I think). All you have to do is pass screen for your DC parameter.

The line of code is: hdc = CreateDC(“Display”, NULL, NULL, NULL)

I figured that out when for some reason I could not get a normal DC for my
application. This worked and produced a really nice fullscreen :wink:


Matthias Bach | GPG/PGP-Key-ID: 0xACA73EC9
www.marix-world.de | On Keyserver: www.keyserver.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE/OrV6lnJmS6ynPskRAjQAAKCE9pWZfzxJwJFPZEvHAzQeNNxcGQCgopd3
eSUtQmNOtjDR7hMJK3HPJkg=
=WOPh
-----END PGP SIGNATURE-----