tmp := tcanvas.Create;
tmp.Handle := getdc(0);
tmp.LineTo(100,100);
tmp.TextOut(10,300, 'asfd');
tmp.Destroy;
sådan skriver og tegner du på skrivebordet
Jeppe Johansen
Jeppesoftware@hotmail.com
Du kunne også bare gøre således: (lidt kortere kode)
canvas.Create;
canvas.Handle := getdc(0);
canvas.LineTo(100,100);
canvas.TextOut(10,300, 'Wazzaup');
Mvh.
Rune Jensen
---------------------------------------------------------------------------
##The one who laugh last is the one who think slowest!##
---------------------------------------------------------------------------