Using VB6, i've got a ListBox containing 10 items. When you left mouse click on any item, that item is highlighted and the ListIndex is set to that item that you clicked on. I need help doing the same action for a right mouse click.
Any ideas?
My ultimate goal is to launch "frmSelection" by rightclicking on the listbox on "frmMaster". frmSelection is a smaller form with only a single listbox on it and whos top and left coords match the mouses x and y coords when the left click event happens on "frmMaster". It acts as kind of a tool tip selection list. This is all working, but I must pass the list index from "frmMaster" to "frmSelection". I cannot send the listindex if it is not selected by the right mouse click.
Thanks.
Any ideas?
My ultimate goal is to launch "frmSelection" by rightclicking on the listbox on "frmMaster". frmSelection is a smaller form with only a single listbox on it and whos top and left coords match the mouses x and y coords when the left click event happens on "frmMaster". It acts as kind of a tool tip selection list. This is all working, but I must pass the list index from "frmMaster" to "frmSelection". I cannot send the listindex if it is not selected by the right mouse click.
Thanks.