I’ve found this undocumented windows message, hex code: 0x0313 that’s sent when a user right-clicks on the app’s taskbar button. Is this stable to use/capture?
I’ve found this undocumented windows message, hex code: 0x0313 that’s sent when a user
Share
No guarantees, but in practice it will probably not disappear.
I googled it just to make sure it’s not e.g. a documented MFC message.
One result, from http://delphi.about.com/od/vclwriteenhance/a/ttaskbarmenu.htm:
Apparently you can use it to pop up your own custom menu, but before doing that I would use e.g. Spy++ to check whether possibly it generates documented messages that can be processed instead.