[Migrated content. Thread originally posted on 10 September 2009]
What I'm trying to do is to allow the user to right click the mouse to bring up a pop up menu when over a list box. However, doing a right click on the mouse does not select the record that you are currently pointing to, so the user would have to left click to select the record they want to process, then right click to bring up the list box pop up menu.I have tried using the W$MOUSE call to get the mouse row value using the init-menu event and no matter which op code I use, it returns a value that matches the line location of the list box control that I use an inquire to get.
What I want to do is for when right clicking on the mouse with the pointer pointing at a record that hasn't been selected, some how select that record for the pop up menu processing.
Any ideas????



