Delphi-PRAXiS
Seite 2 von 3     12 3      

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Win32/Win64 API (native code) (https://www.delphipraxis.net/17-win32-win64-api-native-code/)
-   -   Delphi How to enumerate all trayicons in the taskbar (https://www.delphipraxis.net/128651-how-enumerate-all-trayicons-taskbar.html)

Razor 3. Feb 2009 17:31

Re: How to enumerate all trayicons in the taskbar
 
Zitat:

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.

Razor 4. Feb 2009 14:58

Re: How to enumerate all trayicons in the taskbar
 
Now i have to install 32 bit version of vista just becouse of delphi :x .Is there really no other way?

nuclearping 4. Feb 2009 15:02

Re: How to enumerate all trayicons in the taskbar
 
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

Razor 4. Feb 2009 15:03

Re: How to enumerate all trayicons in the taskbar
 
But if we talk wich Language is the easiest i would say its delphi.So yea ill go to vista 32.

nuclearping 4. Feb 2009 15:05

Re: How to enumerate all trayicons in the taskbar
 
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.

Razor 4. Feb 2009 15:14

Re: How to enumerate all trayicons in the taskbar
 
I won't reformat the solution is in virtualization. :-D

Razor 6. Feb 2009 19:52

Re: How to enumerate all trayicons in the taskbar
 
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!

mr_emre_d 8. Feb 2009 08:42

Re: How to enumerate all trayicons in the taskbar
 
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

:P

mr_emre_d 8. Feb 2009 13:32

Re: How to enumerate all trayicons in the taskbar
 
Liste der Anhänge anzeigen (Anzahl: 2)
A demo application :)

( i used some code - snippets which i got from Jonas [thx ;)] )

Meflin 8. Feb 2009 14:17

Re: How to enumerate all trayicons in the taskbar
 
Zitat:

Zitat von mr_emre_d
A demo application :)

Doesn't work here (Vista 64 Bit) :(


Alle Zeitangaben in WEZ +1. Es ist jetzt 23:21 Uhr.
Seite 2 von 3     12 3      

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