I need to detect whats is the x, y coordinates of mouse when I click inside a listbox.
I wrote inside the mousedown event the following code:
Private Sub lstLaminacao_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles lstLaminacao.MouseDown
MessageBox.Show(e.X & e.Y)
... but it doesnt works... the strange is what when I put the same code inside a panel, it works normally.
Some idea of how to solve this problem?
PS.: Im using thwe compact framework, for pocket PC