Print Page | Close Window

How can i implement Drag&Drop?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Task Panel
Forum Description: Topics Related to Codejock Task Panel
URL: http://forum.codejock.com/forum_posts.asp?TID=19422
Printed Date: 23 November 2024 at 3:25am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How can i implement Drag&Drop?
Posted By: register_jhb
Subject: How can i implement Drag&Drop?
Date Posted: 18 January 2012 at 10:42pm
I can speak english a little , please don't mindCry
I want to implement Drag&Drop using COleDataSource and COleDropTarget。
So, I declare a COleDataSource in CXTPTaskPanelEx:CXTPTaskPanel extend class
And, I use COleDataSource.DoDragDrop in CXTPTaskPanelEx::OnLButtonDown
But, unexpected situation happened...
When i drag or click item in CXTPTaskPanel&Group, the respond all confusion, delay and wrong...
It's OnTaskPanelNotify results also delay and wrong.
What's the reason that?
 
How can i implement Drag&Drop in CXTPTaskPanel? Don't use COleDataSource&COleDropTarget method?
 
Thanks all!



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net