Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2008.03.16;
Скачать: 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 вся ветка

Текущий архив: 2008.03.16;
Скачать: CL | DM;

Наверх




Память: 0.47 MB
Время: 0.015 c
11-1185897587
sunwise
2007-07-31 19:59
2008.03.16
Люди, помогите пожалуйста привести типы.


2-1203318623
aistto
2008-02-18 10:10
2008.03.16
что с лейблом?


2-1203496459
fluxion
2008-02-20 11:34
2008.03.16
SQL запрос.


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


2-1203336226
Hadroran
2008-02-18 15:03
2008.03.16
Закрытие формы