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
The irony is Microsoft doesn’t care what any of you say of what should be happening minus higher clock speed because you can’t turn off this profile. It was shoved down your throat. Now it’s up to you to “shut up” and move on or uninstall Windows and install Linux.
Clock seems to have an Alarm regression: the only thing that happens now is a notification on the tray. That's not what it was at all (an actual UI popped up, and an alarm sound, too).
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