View previous topic :: View next topic |
Author |
Message |
CNET Channel Guest
|
Posted: Mon Feb 20, 2006 4:24 pm Post subject: Virtual tree's reaction to space bar |
|
|
Hello!
I've got a question about VirtualTree.
When I press space bar selection on VirtualTree is cleared. When I press it second time selection comes back.
Could you explain the purpose of this behaviour? And how can I change the way the tree is acting?
Thanks. |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Mon Feb 20, 2006 9:39 pm Post subject: |
|
|
The purpurse of this is to allow keyboard nagivation and selection of items. If you hold the control key down then you can select multiple items using this method. If you want to change this behaviour you can derive a new class from VirtualTree and override the ProcessSpaceCmdKey method. To eliminate the behaviour simply return false. _________________ Infralution Support |
|
Back to top |
|
|
|