Does anyone know how to call the standard Windows context menu? I have a listview with a few filenames and want to call the context menu that we get in the explorer etc.
Thanx :-)
Printable View
Does anyone know how to call the standard Windows context menu? I have a listview with a few filenames and want to call the context menu that we get in the explorer etc.
Thanx :-)
There really isn't a 'standard' context menu. Think about it - "context menu" implies that the menu is based on the current context. So how could you have a "standard" when the context varies all the time??? Anyway - you define your own popup menu, handle WM_CONTEXTMENU (sic) and call TrackPopupMenu()....