Вниз
Скачать: 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.08 c
2-1203330143
AlexAA
2008-02-18 13:22
2008.03.16
Границы Memo


3-1193041148
kyn66
2007-10-22 12:19
2008.03.16
Связь Delphi - 1C


3-1191926279
R4V3N
2007-10-09 14:37
2008.03.16
Проблема с проверкой пароля в базе Access


2-1203417480
Stunt
2008-02-19 13:38
2008.03.16
Передача PDouble в dll, компилированную в Билдере


8-1177042797
Dmitriy_O.
2007-04-20 08:19
2008.03.16
Как сделать "вспышку" тоесть чтобы картинка засветилась яркими цв




   Наверх