Article View: comp.windows.ms.programmer
Article #3366Re: Writing to Root window
From: Aaron Wallace
Date: Mon, 24 Jun 1991 16:06
Date: Mon, 24 Jun 1991 16:06
18 lines
1209 bytes
1209 bytes
In article <73102@microsoft.UUCP> kensy@microsoft.UUCP (Ken SYKES) writes: >In article <uPoJ41w164w@ersys.edmonton.ab.ca> mikec@ersys.edmonton.ab.ca (Mike Coward) writes: >>swonk@toshais.UUCP (Glenn L. Swonk) writes: >>The easiest way to get a device context to the screen >>is to call GetDC with a parameter of 0. ie: >>ScreenDC = GetDC(0); > > >Or ScreenDC = GetDC(GetDesktopWindow()); > >That way you aren't depending on NULL behavior. This function is >new for 3.0. Are these the same? I thought that the former got a DC to the entire screen, while the latter gets a DC which is clipped to all visible windows on the screen... Aaron Wallace
Technical Details
Message-ID:
<1991Jun24.160622.2910@leland.Stanford.EDU>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!samsung!uunet!stanford.edu!leland.Stanford.EDU!jessica.stanford.edu!aaronReferences:
<216@toshais.UUCP> <uPoJ41w164w@ersys.edmonton.ab.ca> <73102@microsoft.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!samsung!uunet!stanford.edu!leland.Stanford.EDU!jessica.stanford.edu!aaron From: aaron@jessica.stanford.edu (Aaron Wallace) Newsgroups: comp.windows.ms.programmer Subject: Re: Writing to Root window Keywords: windows Message-ID: <1991Jun24.160622.2910@leland.Stanford.EDU> Date: 24 Jun 91 16:06:22 GMT References: <216@toshais.UUCP> <uPoJ41w164w@ersys.edmonton.ab.ca> <73102@microsoft.UUCP> Sender: Aaron Wallace Organization: Academic Information Resources Lines: 18