AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Programmierung allgemein Win32/Win64 API (native code) Delphi How to enumerate all trayicons in the taskbar
Thema durchsuchen
Ansicht
Themen-Optionen

How to enumerate all trayicons in the taskbar

Ein Thema von Razor · begonnen am 3. Feb 2009 · letzter Beitrag vom 26. Feb 2011
Antwort Antwort
Seite 1 von 3  1 23      
Razor
(Gast)

n/a Beiträge
 
#1

How to enumerate all trayicons in the taskbar

  Alt 3. Feb 2009, 14:24
I asked this several times here on forum,is english the problem,you dont like me ?What is it?

I ask if its possible to get the icons that you see in your taskbar enumerated in a form??To get that in a form so you can interact with it?
  Mit Zitat antworten Zitat
Benutzerbild von Uwe Raabe
Uwe Raabe

Registriert seit: 20. Jan 2006
Ort: Lübbecke
11.007 Beiträge
 
Delphi 12 Athens
 
#2

Re: Enumerate all icons in a panel?

  Alt 3. Feb 2009, 14:36
If you don't get any answer it is best to clarify your question. It is most likely as no one can understand your question (not because its English) as no one likes you.

For example: the title says something "Enuemaret all icons in a panel" but in your question you mention icons in the taskbar. This may irritate some people.

As the taskbar usually contains tasks instead of icons (the icons are only a visible hint to the task), your question can be read: How to enumerate all tasks in the taskbar?

Try that and see what happens.
Uwe Raabe
  Mit Zitat antworten Zitat
Razor
(Gast)

n/a Beiträge
 
#3

Re: How to enumerate all trayicons in the taskbar

  Alt 3. Feb 2009, 14:42
Basicly what i want to do is take all icons from Traynotifywnd and then show it in a form or panel,ive tried so many diffrent aproaches that i got sick of it quickly.
  Mit Zitat antworten Zitat
Benutzerbild von Uwe Raabe
Uwe Raabe

Registriert seit: 20. Jan 2006
Ort: Lübbecke
11.007 Beiträge
 
Delphi 12 Athens
 
#4

Re: How to enumerate all trayicons in the taskbar

  Alt 3. Feb 2009, 14:49
Have a look at madcollection. In madkernel.pas ther is an interface ITrayICons that let you iterate over all trayicons. Ther is a charge of $99 for commercial use and source code, though. But what you get is worth so much more.
Uwe Raabe
  Mit Zitat antworten Zitat
Razor
(Gast)

n/a Beiträge
 
#5

Re: How to enumerate all trayicons in the taskbar

  Alt 3. Feb 2009, 14:49
I've tried this and it won't work in vista x64...Hook won't work.
Thanks though..
  Mit Zitat antworten Zitat
Tyrael Y.

Registriert seit: 28. Jul 2003
Ort: Stuttgart
1.093 Beiträge
 
Delphi 2007 Professional
 
#6

Re: How to enumerate all trayicons in the taskbar

  Alt 3. Feb 2009, 14:55
Sorry im confused.

Do you really want only the icons, which you can see in the tray or
do you want the icons AND the process which belongs to the specific icon
and have control through it from your application?
Levent Yildirim
Erzeugung von Icons aus Bildern:IconLev
  Mit Zitat antworten Zitat
Razor
(Gast)

n/a Beiträge
 
#7

Re: How to enumerate all trayicons in the taskbar

  Alt 3. Feb 2009, 15:00
i want complete tray funcionality on my form.Every icon that you see in tray
  Mit Zitat antworten Zitat
Tyrael Y.

Registriert seit: 28. Jul 2003
Ort: Stuttgart
1.093 Beiträge
 
Delphi 2007 Professional
 
#8

Re: How to enumerate all trayicons in the taskbar

  Alt 3. Feb 2009, 15:04
Perhaps this helps...i know only there was a discussion and sourceCode to get all TrayProcesses...i didn´t tried if its work.

here
Levent Yildirim
Erzeugung von Icons aus Bildern:IconLev
  Mit Zitat antworten Zitat
Razor
(Gast)

n/a Beiträge
 
#9

Re: How to enumerate all trayicons in the taskbar

  Alt 3. Feb 2009, 16:06
I will test it and thanks also!
  Mit Zitat antworten Zitat
Benutzerbild von Phoenix
Phoenix
(Moderator)
Online

Registriert seit: 25. Jun 2002
Ort: Hausach
7.606 Beiträge
 
#10

Re: How to enumerate all trayicons in the taskbar

  Alt 3. Feb 2009, 16:56
Zitat von Razor:
I've tried this and it won't work in vista x64...Hook won't work.
Thanks though..
It is impossible for that to work on a x64 system (neither XP x64 nor vista). You simply can't create 64bit dll's with Delphi. You need to wait for the x64 compiler (coming approx. end of 2009, middle 2010) or write this in another language that can emit x64 code.
Sebastian Gingter
Phoenix - 不死鳥, Microsoft MVP, Rettungshundeführer
Über mich: Sebastian Gingter @ Thinktecture Mein Blog: https://gingter.org
  Mit Zitat antworten Zitat
Antwort Antwort
Seite 1 von 3  1 23      


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 08:52 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