View previous topic :: View next topic |
Author |
Message |
Mark Johnson
Joined: 24 Mar 2005 Posts: 10
|
Posted: Tue Feb 13, 2007 5:28 pm Post subject: Virtual for SelectionChanging event? |
|
|
I don't see a virtual function to override that calls the SelectionChanging event. I see one for OnSelectionChanged.
I would like my VirtualTree subclass to handle selection changing and cancel selection in certain scenarios without any consumers of the SelectionChanging event getting called.
Is there a way to do this?
Thanks,
Mark |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Tue Feb 13, 2007 10:10 pm Post subject: |
|
|
The SelectionChanging event is raised by the AllowSelectionChange method. You can override this method. _________________ Infralution Support |
|
Back to top |
|
|
|