Esempio n. 1
0
 public LVHITTESTINFO RawHitTest(Point pt)
 {
     var lvhti = new LVHITTESTINFO();
     lvhti.pt = pt;
     lvhti.iItem = -1;
     lvhti.iSubItem = -1;
     lvhti.flags = ListViewHitTestFlags.LVHT_EMPTY;
     SendMessage(Handle, ListViewMessages.LVM_HITTEST, 0, ref lvhti);
     return lvhti;
 }
Esempio n. 2
0
 private static extern int SendMessage(IntPtr hWnd, ListViewMessages Msg, int wParam, ref LVHITTESTINFO lvhti);