Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Return ListItem via HitTest
Excel 2003
Win XP Need to get a reference to the individual ListItem object upon which the user DragDrops within a target ListView control. Private Sub ListView1_OLEDragDrop[snip] Dim LstItm As MSComctlLib.ListItem Set LstItm = Me.ListView1.HitTest(x, y) The above works however it always returns a reference to the first (Index = 1) ListItem object in the target control, regardless of what the x and y coordinates are. Thanks for any help. Desi |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Compare Value in Cell 1 to a List, Return Value if Match otherwise Return Null | Excel Discussion (Misc queries) | |||
LOOKUP and return the column heading for IF/THEN return for False | Excel Discussion (Misc queries) | |||
Problem with ListItem Width | Excel Programming | |||
disable listitem | Excel Programming | |||
HitTest function does not return node as documented | Excel Programming |