Advertisement
2_2002-2004 Windows API Call/ Explanation #129657

Get the desktop as a CANVAS (So you can draw on it!)

Want to draw on the desktop like a Canvas? You can now! Simply use the proecedre below!

AI

AI Summary: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Source Code
original-source
function windowsDesktopCanvas: TCanvas; 
var 
  DC: HDc; 
begin 
   DC := getWindowDC ( GetDeskTopWindow ); 
   result := TCanvas.Create; 
   result.Handle := DC; 
end;
Original Comments (3)
Recovered from Wayback Machine