Advertisement
5_2007-2008 Windows API Call/ Explanation #177237

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

Shrnutí AI: 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.

Zdrojový kód
original-source
function windowsDesktopCanvas: TCanvas; 
var 
  DC: HDc; 
begin 
   DC := getWindowDC ( GetDeskTopWindow ); 
   result := TCanvas.Create; 
   result.Handle := DC; 
end;
Původní komentáře (3)
Obnoveno z Wayback Machine