[DUG] Move mouse to ListItem

Ross Levis ross at stationplaylist.com
Fri Mar 4 17:15:36 NZDT 2011


I plan to use that function, but need the x,y of the selected list item
first.

Jolyon's suggestion of ListView_GetItemRect looks to be heading in the right
direction.

Cheers.
 
-----Original Message-----
From: delphi-bounces at delphi.org.nz [mailto:delphi-bounces at delphi.org.nz] On
Behalf Of Todd
Sent: Friday, 4 March 2011 5:03 PM
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] Move mouse to ListItem


Pos := Control.ScreenToClient(Mouse.CursorPos);


> On a keyboard shortcut I want to move the mouse to the start of the
> currently selected item in a listview.  I know how to move the mouse but
I'm
> not sure how to get the x,y position of the selected item in relation to
the
> listview.  Any ideas?
> 
>  
> 
> Cheers.
> 
> 
> 
> 
> 
> _______________________________________________
> NZ Borland Developers Group - Delphi mailing list
> Post: delphi at delphi.org.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to delphi-request at delphi.org.nz with Subject:
unsubscribe

_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi at delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-request at delphi.org.nz with Subject:
unsubscribe




More information about the Delphi mailing list