browse: forums | FAQ
Connecting Tech Pros Worldwide

Hey there! Do you need C# / C Sharp help?

Get answers from our community of C# / C Sharp experts on BYTES! It's free.

Listview click question

Alan T
Guest
 
Posts: n/a
#1: Nov 22 '06
I want to catch the event when I click the listview.
However, if the listview is empty, I cannot catch the click event.





Michael Nemtsev
Guest
 
Posts: n/a
#2: Nov 22 '06

re: Listview click question


Hello Alan,

How are you tryin' to catch the event?

ATI want to catch the event when I click the listview. However, if the
ATlistview is empty, I cannot catch the click event.
AT>
---
WBR,
Michael Nemtsev [C# MVP] :: blog: http://spaces.live.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche


Jon Shemitz
Guest
 
Posts: n/a
#3: Nov 22 '06

re: Listview click question


Alan T wrote:
Quote:
I want to catch the event when I click the listview.
However, if the listview is empty, I cannot catch the click event.
Yes, the Click event only fires when you click on an item. You'll
probably have to handle MouseDown and MouseUp.

--

..NET 2.0 for Delphi Programmers
www.midnightbeach.com/.net
What you need to know.
Closed Thread