![]() |
how to drag drop files from shell into reportctl |
Post Reply
|
| Author | |
jshan
Groupie
Joined: 07 December 2007 Status: Offline Points: 63 |
Post Options
Thanks(0)
Quote Reply
Topic: how to drag drop files from shell into reportctlPosted: 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.
|
|
![]() |
|
jshan
Groupie
Joined: 07 December 2007 Status: Offline Points: 63 |
Post Options
Thanks(0)
Quote Reply
Posted: 07 January 2008 at 2:17am |
|
ps:
the reportcontrols are in dialogs which in tab control
|
|
![]() |
|
jshan
Groupie
Joined: 07 December 2007 Status: Offline Points: 63 |
Post Options
Thanks(0)
Quote Reply
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 ?
|
|
![]() |
|
jshan
Groupie
Joined: 07 December 2007 Status: Offline Points: 63 |
Post Options
Thanks(0)
Quote Reply
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 ?
|
|
![]() |
|
jshan
Groupie
Joined: 07 December 2007 Status: Offline Points: 63 |
Post Options
Thanks(0)
Quote Reply
Posted: 07 January 2008 at 6:50am |
|
this is another issue.
in XTPeportControl.cpp,
3898 line
is this supposed to be "return TRUE" ?
|
|
![]() |
|
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 |