View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
phil phil is offline
external usenet poster
 
Posts: 201
Default Drag & Drop in ListBox Ctrl: Find pointer position on mouse up?

I have a listbox which is filled at run-time and display the worksheets in
the workbook.
Because the number of sheets can be quite big, 50+, it is a much more
convenient way to navigate than using the sheets tab, normally at the bottom
of the excel window.
I have managed to get the Drag & Drop proc to work ok, I get the + symbol
when I drag, but how do I determine where the pointer is?
Or how do I get the entry that I am dragging to insert itself on mouse
release/up?
I have searched the internet for a few days now and the only solution I have
found is in VB.Net which is not good to me.
Thank you all in advance.