How can I display the “Send To” and “Open With” context menus?

Some time ago, I asked about how to open the Windows context menu (context menu) for a specific file in Delphi . However, even if everything works (almost) OK, there are no items in the "Send to ..." and "Open with ..." submenus, even if, when you right-click in the explorer for the same file name, they work OK. (For example, "Send to ..." has "Desktop (create snapshot)", "Email recipient", etc.).

How can I make these menus?

+3
source share
1 answer

. , , , , , , .

2, , . 5 . , . - , TrackPopupMenuEx (HND ). , , . , HandleMenuMsg HandleMenuMsg2. .

, , , , , "" . 3 , . 7 . . , ++; API, Delphi.

+4

Source: https://habr.com/ru/post/1728014/


All Articles