URGENT: Problem Sending Windows Message to taskbar icon.
Posted on 2003-11-11
I have a taskbar icon (program) that is supposed to open a form when a user double clicks on a file associate with the program. I don't want to open a new instance, so in the Main function, I check to see if there is already an instance running, if so, write the filename to registry and tell the existing tray program to open it via SendMessage imported from user32.dll. The problem is, the taskBar has form that is run as minimized wtih ShowInTaskBar set to false. When I set this to true, it accepts the Windows message correctly. When I set it to false, it does not.
how can I send a windows message to the application in the tray? Is it possible? If not, is there some way I can notify the .exe without have to setup remoting (I don't want to use TCP/IP, so this would be a problem).