Drawing
on the Desktop
In order to draw on the desktop, you'll need a handle to it's device
context. You can obtain this handle by using the GetDC API call and
passing it a NULL parameter, or by using the GetDesktopWindow function
to get a handle to the desktop window, then a subsequent call to GetDC,
passing it the handle returned from GetDesktopWindow...
KEYWORDS: TCanvas, GetDC, ReleaseDC
|