From: <Kev...@al...> - 2001-06-13 15:28:57
|
Jonathan, The particular app that this is for will use the ListView to display fi= les. 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 defa= ult action of a single click de-selecting the items that had previously bee= n selected and then selecting the item the mouse pointer is on. As leavi= ng 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. = =20 Jonathan Southwick = =20 <jso...@al...> To: = per...@li... =20 Sent by: cc: = =20 per...@li...urc Subje= ct: Re: [perl-win32-gui-users] ListView Item Click and Windows =20 eforge.net 2000 = =20 = =20 = =20 13/06/2001 14:03 = =20 Please respond to perl-win32-gui-users = =20 = =20 = =20 Kevin, I'm not sure I understand what you are trying to do.=A0 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.=A0 I don't even capture the ItemClick ev= ent because no action is carried out until the user performs a DblClick.=A0= I also capture a RightClick event and bring up a popup menu to allow the = user to select what action should be taken.=A0 Is this a feasible solution f= or what you are doing? Jonathan Jonathan Southwick jso...@al... Technical & Network Services Allegheny College, Meadville, PA 16335 (814) 332-2755 = |