<2>
Thanks for first answer of my question. However, there is no bool called 'handled' in mouseup event, so I still can not intercept the mouse up event, and the default behavior is still be done.
To design a specific draw object is too complicated to me, so, I am still waiting for any saimple solution for this. Thanks.
<1>
I design a window application, my question is below :
1. There is one treeview object.
2. When click on one node, the default way is that this node will be
changed its backcolor to be blue.
3. Now, I would like to have my specific function when mouse click on
the node, and would not expect the backcolor of this node is changed
to be blue, so I create an event handler :
treeview1.mouseup += new MouseEventHandler(treeview1_MouseUp);
4. And thre are my specific statements in the event handler.
Now, the condition is that after the treeview mouseup event is
executed, the backcolor of the node is still changed to be blue, my question is "How can I intercept the mouse up event, and do not pass it
to system for further process" ?