1
System / System tray program
« on: January 23, 2019, 05:45:09 pm »
Is there a way, for a process (no console) to interact with its system tray icon?
I've looked up information on microsoft docs:
https://docs.microsoft.com/en-us/windows/desktop/api/shellapi/nf-shellapi-shell_notifyicona
https://docs.microsoft.com/en-us/windows/desktop/api/shellapi/ns-shellapi-_notifyicondataa
But I don't understand how you would get notifications BACK from said API, as it asks for a window handle, which I do not necessarily have in the process.
I've looked up information on microsoft docs:
https://docs.microsoft.com/en-us/windows/desktop/api/shellapi/nf-shellapi-shell_notifyicona
https://docs.microsoft.com/en-us/windows/desktop/api/shellapi/ns-shellapi-_notifyicondataa
But I don't understand how you would get notifications BACK from said API, as it asks for a window handle, which I do not necessarily have in the process.