Вниз
Скачать: 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.01 c
2-1203085303
Rentner
2008-02-15 17:21
2008.03.16
Как вывести надпись на рабочий стол?


11-1166215701
Galkov
2006-12-15 23:48
2008.03.16
про Align, когда выключена видимость родителей


2-1203449502
иВаня
2008-02-19 22:31
2008.03.16
TSpeedButton +DrawFocusRect


15-1202207039
Ins
2008-02-05 13:23
2008.03.16
Объясните, пожалуйста, смысл фразы.


2-1203413997
KyRo
2008-02-19 12:39
2008.03.16
Компонент TGauge




   Наверх