'CreatePopupMenu for windows 11

I checked windows 11 has a new style of menu items which looks like this

enter image description here

Please note It has an icon row on top

What modification are required in usage of CreatePopupMenu function (winuser.h) for bringing the same behaviour in our app . I am unable to find the documentation link for win 11 context menu for CreatePopupMenu update. I wish to use my own icons on top and hence wanted to explore already used CreatePopupMenu.

Some example code would really help me !



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source