Вниз
Скачать: CL | DM;

Как вывести надпись на рабочий стол?   Найти похожие ветки 

← →
Rentner   (2008-02-15 17:21) [0]

Уважаемые мастера! Подскажите, пожалуйста, Как программно вывести любую строку на рабочий стол?


← →
Palladin ©   (2008-02-15 17:32) [1]

зачем?


← →
Rentner   (2008-02-15 17:35) [2]

Например, дату и время, и чтобы она там все время была


← →
Palladin ©   (2008-02-15 17:44) [3]

type
 TDesktopCanvas = class(TCanvas)
 private
   DC : hDC;
   function     GetWidth:Integer;
   function     GetHeight:Integer;
 public
   constructor  Create;
   destructor   Destroy; override;
 published
   property Width: Integer read GetWidth;
   property Height: Integer read GetHeight;
 end;

function TDesktopCanvas.GetWidth:Integer;
begin
 Result:=GetDeviceCaps(Handle,HORZRES);
end;

function TDesktopCanvas.GetHeight:Integer;
begin
 Result:=GetDeviceCaps(Handle,VERTRES);
end;

constructor TDesktopCanvas.Create;
begin
 inherited Create;
 DC := GetDC(0);
 Handle := DC;
end;

destructor TDesktopCanvas.Destroy;
begin
 Handle := 0;
 ReleaseDC(0, DC);
 inherited Destroy;
end;

рисуй наздоровье...


← →
Rentner   (2008-02-15 17:52) [4]

Благодарю :)



Страницы: 1 вся ветка

Скачать: CL | DM;



Память: 0.44 MB
Время: 0.021 c
15-1202467669
keymaster
2008-02-08 13:47
2008.03.16
Компонент для просмотра HTML


2-1202928676
savyhinst
2008-02-13 21:51
2008.03.16
HOWTO_ISAPI


11-1185468313
Dy1
2007-07-26 20:45
2008.03.16
Memo и RichEdit не отображают текст под W98


15-1202284554
boriskb
2008-02-06 10:55
2008.03.16
К АП


2-1203152306
alexsashkan
2008-02-16 11:58
2008.03.16
Проблема с запросом SQL




   Наверх