I am studying the transparent control. The LISTBOX is transparent, and it is difficult to click on the text, so I can find the corresponding LISTBOXA line number by clicking on the form, and simulate to click.
Get the line number of the cursor position, listindex
how to get (line,col) by mouse from treeview,listview,listbox,filelist,datagrid
Like Vsflexgrid.ocx:
Get the line number of the cursor position, listindex
how to get (line,col) by mouse from treeview,listview,listbox,filelist,datagrid
Code:
Private Sub List1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
'Returns the current line number pointed by the mouse
Dim ListIndexByMouse As Long
'CODE?
End Sub
Code:
MouseCol returns the current column number pointed by the mouse
MouseRow returns the current row number pointed to by the mouse