Dose anyone know wich api call to use to create a right click popup menu. i want to display a menu when a user right clicks a item in a list view.
Try subclassing the Listview then handle the WM_CONTEXTMENU message. During this message use the GetCursorPos and TrackPopupMenu API combo.
Use NM_RCLICK notification message (WM_NOTIFY) in combination with TrackPopupMenu.
If you only need a context menu follow comrade's advice. Here is a little C sample.
Edit:
Give a look also at this old post:
http://www.asmcommunity.net/board/index.php?topic=3328
Edit:
Give a look also at this old post:
http://www.asmcommunity.net/board/index.php?topic=3328
thanx for replies