Author: batvaniobatvanio
Date: Jul 15, 2008 11:40
Hi,
I was exploring the possibility to implement dragging items in a
TreeView (or a ListView) control, for which I was planning to use the
MouseDown, MouseUp, etc... events. However, these are not implemented
for these controls (they are implemented only for Form, Panel,
Control, from my understanding). I tried to implement custom controls
derived from these, and override OnMouseUp, or just add the event and
the event handler in the custom control (since all these are derived
from Control), but it still does not seem to work. I also tried to
implement a custom WndProc, but this does not work either. I searched
the group, but did not find any solution not including third-party
controls.
Does anyone have any suggestion? This seems to be a pretty common
problem....
Thanks
Ivan
|