Click here to Skip to main content
15,888,521 members
Home / Discussions / C#
   

C#

 
GeneralRe: Waiting Progress Bar (knight ride stylee) Pin
LokiSD17-Apr-03 2:21
LokiSD17-Apr-03 2:21 
GeneralRe: Waiting Progress Bar (knight ride stylee) Pin
MrEyes17-Apr-03 6:30
MrEyes17-Apr-03 6:30 
GeneralRe: Waiting Progress Bar (knight ride stylee) Pin
LokiSD17-Apr-03 16:53
LokiSD17-Apr-03 16:53 
GeneralRe: Waiting Progress Bar (knight ride stylee) Pin
Paresh Gheewala17-Apr-03 11:37
Paresh Gheewala17-Apr-03 11:37 
GeneralRemoting and Finalize Pin
Adam Turner16-Apr-03 19:15
Adam Turner16-Apr-03 19:15 
GeneralRe: Remoting and Finalize Pin
Philip Fitzsimons17-Apr-03 4:26
Philip Fitzsimons17-Apr-03 4:26 
GeneralRe: Remoting and Finalize Pin
Adam Turner17-Apr-03 16:20
Adam Turner17-Apr-03 16:20 
GeneralRe: Remoting and Finalize Pin
Paresh Gheewala17-Apr-03 12:39
Paresh Gheewala17-Apr-03 12:39 
GeneralRe: Remoting and Finalize Pin
Adam Turner17-Apr-03 16:19
Adam Turner17-Apr-03 16:19 
GeneralGetting current instance of another class Pin
Meysam Mahfouzi16-Apr-03 18:03
Meysam Mahfouzi16-Apr-03 18:03 
GeneralRe: Getting current instance of another class Pin
Jim Stewart16-Apr-03 20:27
Jim Stewart16-Apr-03 20:27 
GeneralRe: Getting current instance of another class Pin
Meysam Mahfouzi18-Apr-03 17:22
Meysam Mahfouzi18-Apr-03 17:22 
GeneralRe: Getting current instance of another class Pin
Paresh Gheewala17-Apr-03 12:31
Paresh Gheewala17-Apr-03 12:31 
GeneralDotfuscator VS.Net license? need URL Pin
Bog16-Apr-03 17:05
Bog16-Apr-03 17:05 
GeneralRe: Dotfuscator VS.Net license? need URL Pin
James T. Johnson16-Apr-03 18:45
James T. Johnson16-Apr-03 18:45 
GeneralRe: Dotfuscator VS.Net license? need URL Pin
Roger Alsing16-Apr-03 20:43
Roger Alsing16-Apr-03 20:43 
Generalopening File Pin
plextoR16-Apr-03 12:19
plextoR16-Apr-03 12:19 
GeneralSaving file & opening it form another app Pin
plextoR16-Apr-03 12:03
plextoR16-Apr-03 12:03 
GeneralRe: Saving file & opening it form another app Pin
Paresh Gheewala17-Apr-03 12:30
Paresh Gheewala17-Apr-03 12:30 
GeneralRe: Saving file & opening it form another app Pin
plextoR17-Apr-03 13:11
plextoR17-Apr-03 13:11 
GeneralC# forms[design] Pin
davidj0x116-Apr-03 11:37
davidj0x116-Apr-03 11:37 
GeneralRe: C# forms[design] Pin
Andres Manggini16-Apr-03 13:25
Andres Manggini16-Apr-03 13:25 
GeneralRe: C# forms[design] Pin
davidj0x117-Apr-03 5:36
davidj0x117-Apr-03 5:36 
GeneralListview item click events Pin
vlusardi16-Apr-03 10:46
vlusardi16-Apr-03 10:46 
GeneralRe: Listview item click events Pin
James T. Johnson16-Apr-03 14:12
James T. Johnson16-Apr-03 14:12 
vlusardi wrote:
can someone give me some
advice as to how this can be done...?


Use the ListView's GetItemAt method to retrieve the item which was clicked.

You get the point that was clicked by using the static Control.MousePosition property, then pass that through the ListView's PointToClient method (to convert from screen coordinates to ones relative to the listview).

f.e

ListViewItem lvi = myListView.GetItemAt(
    myListView.PointToClient(Control.MousePosition)
);
HTH,

James

"It is self repeating, of unknown pattern"
Data - Star Trek: The Next Generation

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.