Print Page | Close Window

Having trouble customising Drag and Drop

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=22281
Printed Date: 20 April 2024 at 12:48am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Having trouble customising Drag and Drop
Posted By: Aaron Koolen
Subject: Having trouble customising Drag and Drop
Date Posted: 22 April 2014 at 5:29pm
Hi there. I have a specific requirement for drag and drop in my report control. The bottom element in the report control can not be dragged, nor can other items be dragged to be further down the report control.

So I need to be able to:

1) Disable any display of the drop marker when mousing over this last item, or past the last item.
2) I need to be able to disallow dropping onto it or after it. 

1) I can't see any place to do this on a per record basis.
2) I can watch XTP_NM_REPORT_RECORDS_DROPPED but there doesn't seem to be a way to "cancel" the operation at that point. Just returning still moves the items within the report control. If I set bReturnValue to the two possible values the moved record is still removed, and in the FALSE case it's put at the bottom (Which shouldn't happen).

Aaron


-------------
Product: Xtreme ToolkitPro v13.3.0 (MFC)
Platform: Windows XP (32bit) - SP 3
Language: Visual C++ 6



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