Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - XTP_NM_REPORT_DRAGDROP_COMPLETED help...
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

XTP_NM_REPORT_DRAGDROP_COMPLETED help...

 Post Reply Post Reply
Author
Message
ddlittle View Drop Down
Senior Member
Senior Member


Joined: 19 February 2004
Location: United States
Status: Offline
Points: 132
Post Options Post Options   Thanks (0) Thanks(0)   Quote ddlittle Quote  Post ReplyReply Direct Link To This Post Topic: XTP_NM_REPORT_DRAGDROP_COMPLETED help...
    Posted: 02 December 2009 at 10:12pm

On my report control, I have some children rows and I want to drag-n-drop them.  I couldn't find a sample for XTP_NM_DRAGDROP_COMPLETED (or the BEGINDRAG or DRAGOVER either).  The default behavior doesn't seem to allow children being dragged to another parent and before I write a bunch of code to do that, I thought I'd ask. 

Finally, the XTP_NM_REPORTDRAGDROP structure never seems to populate the target record, so I'm not sure where the user is dropping things.
 
Any XTPers out there ever tried drag-n-drop with the report control?  Especially those of you who don't mind sharing....
 
Thanks!
 
- David
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post Posted: 02 December 2009 at 11:01pm
In 13.2.2 there is CXTPReportControl BOOL flag m_bUnrestrictedDragDrop
If TRUE -
XTP_NM_REPORT_DROP Notification have nmData.pTargetRecord can be child record and you need to support in your app specific  action with child record
If FALSE - nmData.pTargetRecord is most Parent record for this child record
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.109 seconds.