Hi, I cannot figure out and I also had no luck with google so I'm asking for your help...
I'd like to edit the taskbar buttons and I know (found in the VS Documentation) that I need the ITaskbarList interface but I don't no quite how to use such a unmanaged interface in C#... can you help?
The second question is: how can I detect that a program was launched (or started) in C#? I tried with a lot of WM_messages but I just can't catch this event... I also tested some hooks and so on, but it seems to catch only the program's own WM_CEATE message... how can I catch other programs' messages in my app?
The third question: how can I catch mouse move event outside of my app? As soon as the cursor leaves my app I receive no new messages from the system... there has to be some way to do it, like in SnagIt for example etc
I don't use Edge... Yes, why wouldn't I want fixes and security updates faster? It looks like there is at least 3 people just in this comment thread that are OK with this.
I use Linux and one applies updates when they wish and it can be done on Windows by setting updates for overnight or pausing updates. People will complain about anything.
Question
ebody
Hi, I cannot figure out and I also had no luck with google so I'm asking for your help...
I'd like to edit the taskbar buttons and I know (found in the VS Documentation) that I need the ITaskbarList interface but I don't no quite how to use such a unmanaged interface in C#... can you help?
The second question is: how can I detect that a program was launched (or started) in C#? I tried with a lot of WM_messages but I just can't catch this event... I also tested some hooks and so on, but it seems to catch only the program's own WM_CEATE message... how can I catch other programs' messages in my app?
The third question: how can I catch mouse move event outside of my app? As soon as the cursor leaves my app I receive no new messages from the system... there has to be some way to do it, like in SnagIt for example etc
Link to comment
https://www.neowin.net/forum/topic/637769-c-how-should-i-use-itaskbarlist-and-how-to-detect-program-start/Share on other sites
7 answers to this question
Recommended Posts