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.
Posted on 2002-07-08 16:54:32 by Kudos
Try subclassing the Listview then handle the WM_CONTEXTMENU message. During this message use the GetCursorPos and TrackPopupMenu API combo.
Posted on 2002-07-08 16:57:43 by stryker
Use NM_RCLICK notification message (WM_NOTIFY) in combination with TrackPopupMenu.
Posted on 2002-07-08 17:35:28 by comrade
If you only need a context menu follow comrade's advice. Here is a little C sample.

Give a look also at this old post:
Posted on 2002-07-08 17:48:04 by LuHa
thanx for replies
Posted on 2002-07-08 18:06:09 by Kudos