Print Page | Close Window

how to drag drop files from shell into reportctl

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=9233
Printed Date: 28 June 2024 at 11:23pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: how to drag drop files from shell into reportctl
Posted By: jshan
Subject: how to drag drop files from shell into reportctl
Date Posted: 06 January 2008 at 9:10pm
[product: xtp v11.2.2]
 
hi happy new year...
 
i modied the style of reportcontrol like
m_pListCtrl->ModifyStyleEx(0, WS_EX_ACCEPTFILES);
 
but, it deosn't effect at all.
 
i want to drag some files from shell into my reportcontrol
 
plz help me out.
 



Replies:
Posted By: jshan
Date Posted: 07 January 2008 at 2:17am
ps:
the reportcontrols are in dialogs which in tab control
 


Posted By: jshan
Date Posted: 07 January 2008 at 3:26am
Now,
I change to override COleDropTarget interface from CXTPReportControl.
But, It seems my controls in CXTPTablConrol can't get OnDragEnter Event.
Any solutions ?
 
 


Posted By: jshan
Date Posted: 07 January 2008 at 6:01am

i solved this problem..

this is so strange,
at that time the reportcontrol was surrounded by a group control when i faced this pro.
 
after i removed the group control..
OnDragEnter messages are fired normally..
 
 
No idea.  why this has to be happened ?
is this kinda bug or somthing ?
 


Posted By: jshan
Date Posted: 07 January 2008 at 6:50am
this is another issue.
 
in XTPeportControl.cpp,
3898 line
 
is this supposed to be "return TRUE" ?
 
 



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