How can win32 app create a windows11 style menu?

jason 1 Reputation point
2021-11-15T03:14:47.623+00:00

In windows10,I create menu with CreatePopupMenu and use AppendMenuW to add item. But in windows11, this api only create windows10 style menu. How can i create a windows11 style menu?

Windows development Windows API - Win32
Windows for business Windows Client for IT Pros User experience Other
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Castorix31 90,521 Reputation points
    2021-11-15T08:02:18.547+00:00

    If you're talking about rounded corners menus, see Apply rounded corners in desktop apps for Windows 11

    1 person found this answer helpful.

  2. Xiaopo Yang - MSFT 12,731 Reputation points Microsoft External Staff
    2021-11-15T05:27:24.817+00:00

    You can Use the WinRT XAML hosting API in a C++ desktop (Win32) app. The WinRT XAML hosting API provides the foundation for a broader set of controls that we are providing to enable developers to bring Fluent UI to non-UWP desktop apps. This feature is called XAML Islands.

    0 comments No comments

  3. Limitless Technology 39,916 Reputation points
    2021-11-15T20:51:10.533+00:00

    Hi @jason

    You can check this a collection of topics describing and demonstrating how to migrate your Universal Windows Platform (UWP) application to the Windows App SDK.

    https://learn.microsoft.com/en-us/windows/apps/windows-app-sdk/migrate-to-windows-app-sdk/migrate-to-windows-app-sdk-ovw

    In addition to this you can try out this article

    Top 11 things you can do to make your app great on Windows 11
    https://learn.microsoft.com/en-us/windows/apps/get-started/make-apps-great-for-windows

    --------
    --If the reply is helpful, please Upvote and Accept it as an answer--

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.