By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,492 Members | 1,289 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,492 IT Pros & Developers. It's quick & easy.

DragDrop Quirk!

P: n/a
Hello all,

I have a MDI form w/ a treeview. A splitter control separates the treeview
part of the form from the MDI client. (MDI Client is placed on the MDI
parent). The client form has a panel control on which I drag and drop
treeview items or draw shapes.

I have a drop down menu, with a list of items present in the treeview.
Clicking on any of the menu items triggers the treeview.DoDragDrop event.
Basically this should give me the same functionality as doing a drag and drop
from treeview.

Now the problem :
The drop works if the portion of the menu item that I clicked is on the
panel control, because then it triggers the Panel's DragDrop event.

If the portion of the menu item that I click is on the side of the treeview
control, then somehow the DragDrop event is being cancelled. I would like to
get this to work. How?

I know this post is kind of hard to visualize and understand.

I would really appreciate your suggestions regarding the same.

TIA
Nov 21 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.