Does anyone know if there's a way or a API command that will
open or show the actual window (main program) of a icon on the traybar?
I have tried lot's of code found on PB form and google, but i can't seem
to get the right 'mainwindowhandle' of a app.
I also tried to sendmessage() some double clicks to the tray but it always
opens the first app found.
I tried to sendmessage() to the windowID i get from my tray enum
procedure, without any luck..
Is there a way i can send a message to the process of the app or such?
Found this, helped me a bit..
http://www.purebasic.fr/english/viewtop ... 140#142140
This might be the solution, but not for PB

http://msdn2.microsoft.com/en-us/librar ... andle.aspx
Bye,
Phil.