Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compare Value in Cell 1 to a List, Return Value if Match otherwise Return Null Ben Excel Discussion (Misc queries) 2 March 15th 07 01:02 AM
LOOKUP and return the column heading for IF/THEN return for False NN Excel Discussion (Misc queries) 1 October 6th 06 11:24 AM
Problem with ListItem Width allenj3 Excel Programming 1 June 29th 06 08:29 PM
disable listitem Roland Excel Programming 2 December 13th 04 08:49 PM
HitTest function does not return node as documented Balajee S Excel Programming 5 November 25th 04 12:04 AM


All times are GMT +1. The time now is 01:58 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"