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?
相关问题
- Sorting 3 numbers without branching [closed]
- How to compile C++ code in GDB?
- Why does const allow implicit conversion of refere
- thread_local variables initialization
- What uses more memory in c++? An 2 ints or 2 funct
相关文章
- 如何让cmd.exe 执行 UNICODE 文本格式的批处理?
- 怎么把Windows开机按钮通过修改注册表指向我自己的程序
- Warning : HTML 1300 Navigation occured?
- Class layout in C++: Why are members sometimes ord
- How to mock methods return object with deleted cop
- Which is the best way to multiply a large and spar
- C++ default constructor does not initialize pointe
- Selecting only the first few characters in a strin
It has been working for many years so although there is of course no guarantee that it will work in future version it is more likely it will.
It would be stable to use if you could guarantee that it will work on:
1) All Windows versions currently in use.
2) All Windows versions that will be released during the expected lifetime of your app.
So, no.
Undocumented features and messages are subjected to change. You should not rely on that this message is sent in the same way in another version of windows or that the parameters are in the same format.
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.