[archive] Pop-up menus on List Boxes

[Migrated content. Thread originally posted on 22 March 2006]

Is there any way in which I can know which line the pointer was on when the right hand mouse click occurs and pops up a menu? What I would like to do is to select that line before the popup menu appears so that it is pertinent to that line rather than the one that is cuurrently selected.