![]() |
Drag and Drop |
Post Reply
|
| Author | |
jitu
Newbie
Joined: 29 April 2005 Location: Germany Status: Offline Points: 21 |
Post Options
Thanks(0)
Quote Reply
Topic: Drag and DropPosted: 09 May 2005 at 7:56am |
|
I am migrating to docking panes from Codejock and my view is a CTreeView. This view is attached to the pane. Now earlier when my Treeview was a view of my childwindow, the drag and drop support was there and now after attaching the treeview to my pane, the drag and drop functionality is not working. Ia ma not getting OnDragEnter or OnDragOver messages. Why is so?
|
|
|
Regards
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 09 May 2005 at 11:05am |
|
I don't know how it worked before, but commonly to enable it you must 1. add COleDropTarget m_oleDropTarget; member for CYourView 2. call m_oleDropTarget.Register(this); in int CYourView::OnCreate(LPCREATESTRUCT lpCreateStruct) |
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
jitu
Newbie
Joined: 29 April 2005 Location: Germany Status: Offline Points: 21 |
Post Options
Thanks(0)
Quote Reply
Posted: 10 May 2005 at 2:01am |
|
Thanks a lot. The code for COleDropTarget was commented. |
|
|
Regards
|
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |