开发者

WPF Application : How to add items to the "Application Menu"?

开发者 https://www.devze.com 2023-01-16 04:37 出处:网络
I am sorry I don\'t know the right name of it I just keep calling it \"Application Menu\". It\'s the menu you get when you click the applications icon in 开发者_运维技巧the top left corner or when you

I am sorry I don't know the right name of it I just keep calling it "Application Menu". It's the menu you get when you click the applications icon in 开发者_运维技巧the top left corner or when you right-click on the application in the task bar.

Anyway, in my WPF application I want to add items to that menu. In my old MFC C++ days this was an easy task but for a WPF application I have no idea how to do it. Do I have to make some unmanaged API calls?


It seems you have to make use of the Win32 API. Here's a good article that should get you all the info you need: Add System Menu Items to WPF Window using Win32 API

0

精彩评论

暂无评论...
验证码 换一张
取 消