Having trouble customising Drag and Drop |
Post Reply |
Author | |
Aaron Koolen
Groupie Joined: 22 July 2009 Status: Offline Points: 32 |
Post Options
Thanks(0)
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 |
|
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 |