Silly questions about Hwnd and HDC

Christian Ehrlicher Ch.Ehrlicher at gmx.de
Sat Nov 6 09:36:32 CET 2004


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

Instead using GetDC(NULL) you can also use qt_display_dc(). In this case
you don't need to do ReleaseDC.

Christian

Ivan de Jesus Deras schrieb:
| You can get an HDC using
| 1. hDC=GetDC(NULL)
|
| 2. hDC=CreateCompatibleDC(NULL) needs ReleaseDC
|
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdi/devcons_499f.asp
|
| WinID isn't really needed if you want an HDC ...

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFBjI0QnNKwkgf+zVMRAjBQAJ90UIiKxCw8YwuTGXsTN4gLDPozMACfUEl9
QwGqbUJuAfUCBJBOGuc5ZrU=
=VtjH
-----END PGP SIGNATURE-----


More information about the kde-cygwin mailing list