Used:

SendMessage((HWND)hwnd, BM_CLICK, (WPARAM)NULL, (LPARAM)NULL); 

While another application is not minimized to tray, everything works. If you collapse - does not work. How to send a message to the application minimized to tray?

    1 answer 1

    As far as I understand, there is no general method. Usually, the application is simply first deployed from the tray, and then it is sent the right button presses.

    • one
      Helped USESHOWWINDOW - MikeNew
    • @MikeNew: Then it makes sense to write as an answer. - VladD