Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Sonstige Fragen zu Delphi (https://www.delphipraxis.net/19-sonstige-fragen-zu-delphi/)
-   -   Delphi Alle Tray-Icons auflisten (https://www.delphipraxis.net/38236-alle-tray-icons-auflisten.html)

kurtm1 16. Jan 2005 15:50


Alle Tray-Icons auflisten
 
Wie kann ich alle TrayIcon - Texte (...) in eine listbox bekommen?

Sprich einfach auflisten welche Trayicons derzeit grad neben der Uhr sind.

thx

toms 16. Jan 2005 15:58

Re: Alle Tray-Icons auflisten
 
Liste der Anhänge anzeigen (Anzahl: 1)
Hi,

Schau mal in die Anlage :zwinker:

kurtm1 16. Jan 2005 16:00

Re: Alle Tray-Icons auflisten
 
thx

Jonas 23. Dez 2005 10:41

Re: Alle Tray-Icons auflisten
 
Hi....ich wollte fragen wie ich die Tray Icons einfach so als Objekt?! Bild?! auf meine Komponente bekomme, ohne eine Listview und so!?

toms 25. Dez 2005 06:32

Re: Alle Tray-Icons auflisten
 
Hallo,

Schau dir mal DrawIcon resp. DrawIconEx an.

Delphi-Quellcode:
DrawIcon(bmp.Canvas.Handle, 0, 0, ticons[x].hIcon);

Jonas 31. Dez 2005 13:46

Re: Alle Tray-Icons auflisten
 
ich check das nich so ganz
Delphi-Quellcode:
for x := 1 to LV.items.count-1 do
begin
task[1]:= TImage.Create(nil);
with task[1] do
        begin
             Parent := frmMain;
             Height := 27;
             Width := 100;
             Top := 12;
             Picture.Icon := TIcon.Create;
             Stretch := true;
             if x <> 0
             then Left := Width * x + (x-2)*Height
             else Left := Parent.Width - Width * 3 div 2;
             Show;
             Repaint
        end;
end;
Joa das bei Picture.Icon is falsch, ist mir schon klar, nur was kommt dahin? oder kann man das gar nicht so machen?


Alle Zeitangaben in WEZ +1. Es ist jetzt 08:23 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz