CList: How to make "Click'n'Drag", "Shift-Click", "Ctrl-Click" , working?



Hello,

I still fiddle with extending the file selection and still don't have a clue
how to make CList (multiple selection) behave this way:

- Single click w/o modifiers clears all selected, selects the one clicked on
(or deselects it if it was selected)

- shift-click applies the last action (selection/deselection) from the last
affected list element up to the one clicked on.

- ctrl-click / ctrl-shift-click works like the above, just extends the
selection

- click'n'drag works like shift-click, as if you clicked, then released the
first element, then shift-clicked the last element.

Has anyone got any hints how deep I must dig to accomplish these things?

Nils
-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Nils Philippsen                  @college: nils@rhlx01.rz.fht-esslingen.de
Vogelsangstrasse 115             @home:    nils@wombat.dialup.fht-esslingen.de
D 70197 Stuttgart                phone:    +49-711-6599405
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Wer heute an der Bildung spart,          Those who scrimp on education today,
hat morgen noch bloedere Politiker.      get even dumber politicians tomorrow.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]