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 2 von 3     12 3      
Razor
(Gast)

n/a Beiträge
 
#11

Re: How to enumerate all trayicons in the taskbar

  Alt 3. Feb 2009, 17:31
Zitat von Tyrael Y.:
Perhaps this helps...i know only there was a discussion and sourceCode to get all TrayProcesses...i didn´t tried if its work.

here

Can somebody test this on vista for me it won't work.
  Mit Zitat antworten Zitat
Razor
(Gast)

n/a Beiträge
 
#12

Re: How to enumerate all trayicons in the taskbar

  Alt 4. Feb 2009, 14:58
Now i have to install 32 bit version of vista just becouse of delphi .Is there really no other way?
  Mit Zitat antworten Zitat
nuclearping

Registriert seit: 7. Jun 2008
708 Beiträge
 
Delphi 10.2 Tokyo Professional
 
#13

Re: How to enumerate all trayicons in the taskbar

  Alt 4. Feb 2009, 15:02
Don't use Delphi then, because Delphi can't compile 64bit modules, which are required for hooks in a 64bit environment, no matter if XP or Vista.

This statement was already made here in this thread. --> http://www.delphipraxis.net/internal...=997247#997247
  Mit Zitat antworten Zitat
Razor
(Gast)

n/a Beiträge
 
#14

Re: How to enumerate all trayicons in the taskbar

  Alt 4. Feb 2009, 15:03
But if we talk wich Language is the easiest i would say its delphi.So yea ill go to vista 32.
  Mit Zitat antworten Zitat
nuclearping

Registriert seit: 7. Jun 2008
708 Beiträge
 
Delphi 10.2 Tokyo Professional
 
#15

Re: How to enumerate all trayicons in the taskbar

  Alt 4. Feb 2009, 15:05
Depends on what you want to make. If you use Windows API then it really doesn't matter if you use Delphi or C++. There are the language differences, but the API calls are almost the same.
  Mit Zitat antworten Zitat
Razor
(Gast)

n/a Beiträge
 
#16

Re: How to enumerate all trayicons in the taskbar

  Alt 4. Feb 2009, 15:14
I won't reformat the solution is in virtualization.
  Mit Zitat antworten Zitat
Razor
(Gast)

n/a Beiträge
 
#17

Re: How to enumerate all trayicons in the taskbar

  Alt 6. Feb 2009, 19:52
I got an idea what if i make the dll that contains everything to enumerate the tray in Lazerous 64 bit.Then call it from delphi 2009 would this work!
  Mit Zitat antworten Zitat
mr_emre_d
(Gast)

n/a Beiträge
 
#18

Re: How to enumerate all trayicons in the taskbar

  Alt 8. Feb 2009, 08:42
why don't you use the predefined messages ?

just try to get the informations by sending

--"TB_BUTTONCOUNT" (-> tells you how many "buttons" there are)
--"TB_GETBUTTON" (-> moves the information to the allocated memory in the same process)

to

Shell_TrayWnd .-> TrayNotifyWnd .-> SysPager .-> ToolbarWindow32

  Mit Zitat antworten Zitat
mr_emre_d
(Gast)

n/a Beiträge
 
#19

Re: How to enumerate all trayicons in the taskbar

  Alt 8. Feb 2009, 13:32
A demo application

( i used some code - snippets which i got from Jonas [thx ] )
Miniaturansicht angehängter Grafiken
unbenannt_415.jpg  
Angehängte Dateien
Dateityp: rar project1_492.rar (159,6 KB, 21x aufgerufen)
  Mit Zitat antworten Zitat
Benutzerbild von Meflin
Meflin

Registriert seit: 21. Aug 2003
4.856 Beiträge
 
#20

Re: How to enumerate all trayicons in the taskbar

  Alt 8. Feb 2009, 14:17
Zitat von mr_emre_d:
A demo application
Doesn't work here (Vista 64 Bit)
  Mit Zitat antworten Zitat
Antwort Antwort
Seite 2 von 3     12 3      


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 00:55 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