| |
| How can I draw directly on the Windows Desktop? |
 |
How can I draw directly on the Windows Desktop?
The following example uses the dc returned from GetDc(0)
with the Windows API drawing functions to draw on the
Windows Desktop. Example: procedure TForm .Button Click(Sender: TObject);
var
dc : hdc;
begin
dc := GetDc(0);
MoveToEx(Dc, 0, 0, nil);
LineTo(Dc, 300, 300);
ReleaseDc(0, Dc);
end; 7/ 6/98 4:3 :28 PM
|
|
| Hits/month |
2,500,000+ |
Downloads (Since May 2000) |
7,393,709 |
| Total Files |
6,023 |
| Forum msgs |
7,670 |
| Articles/FAQs |
70+/900+ |
Top Selling Software at Amazon
|