Delphi-PRAXiS
Seite 1 von 3  1 23      

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 14:24


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

Uwe Raabe 3. Feb 2009 14:36

Re: Enumerate all icons in a panel?
 
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.

Razor 3. Feb 2009 14:42

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

Uwe Raabe 3. Feb 2009 14:49

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

Razor 3. Feb 2009 14:49

Re: How to enumerate all trayicons in the taskbar
 
I've tried this and it won't work in vista x64...Hook won't work.
Thanks though..

Tyrael Y. 3. Feb 2009 14:55

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

Razor 3. Feb 2009 15:00

Re: How to enumerate all trayicons in the taskbar
 
i want complete tray funcionality on my form.Every icon that you see in tray

Tyrael Y. 3. Feb 2009 15:04

Re: How to enumerate all trayicons in the taskbar
 
Perhaps this helps...i know only there was a discussion and sourceCode to get all TrayProcesses...i didn´t tried if its work.

here

Razor 3. Feb 2009 16:06

Re: How to enumerate all trayicons in the taskbar
 
I will test it and thanks also!

Phoenix 3. Feb 2009 16:56

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

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.


Alle Zeitangaben in WEZ +1. Es ist jetzt 09:04 Uhr.
Seite 1 von 3  1 23      

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