Jonathan,
The particular app that this is for will use the ListView to display files.
I was hoping to allow a single click to select a file, further single
clicks to select multiple files and a double click to perform an action on
the files that had been selected. This would mean over riding the default
action of a single click de-selecting the items that had previously been
selected and then selecting the item the mouse pointer is on. As leaving
the mouse on an item has the same effect as clicking (and I don't seem to
be able to over ride this) I can't do it that way.
Looking back at that paragraph it looks even more confusing now!
Thanks again for your experience with this.
Kev.
Jonathan Southwick
<[EMAIL PROTECTED]> To:
[email protected]
Sent by: cc:
[EMAIL PROTECTED] Subject: Re:
[perl-win32-gui-users] ListView Item Click and Windows
eforge.net 2000
13/06/2001 14:03
Please respond to perl-win32-gui-users
Kevin,
I'm not sure I understand what you are trying to do. Do you perform any
actions on the item when an ItemClick (single) is performed or is the
action on the item carried out with a DblClick event?
I have written a program that works like Windows "Find Files or Folders"
but finds users in a database. I don't even capture the ItemClick event
because no action is carried out until the user performs a DblClick. I
also capture a RightClick event and bring up a popup menu to allow the user
to select what action should be taken. Is this a feasible solution for
what you are doing?
Jonathan
Jonathan Southwick
[EMAIL PROTECTED]
Technical & Network Services
Allegheny College, Meadville, PA 16335
(814) 332-2755