Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - how to drag drop files from shell into reportctl
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

how to drag drop files from shell into reportctl

 Post Reply Post Reply
Author
Message
jshan View Drop Down
Groupie
Groupie
Avatar

Joined: 07 December 2007
Status: Offline
Points: 63
Post Options Post Options   Thanks (0) Thanks(0)   Quote jshan Quote  Post ReplyReply Direct Link To This Post Topic: how to drag drop files from shell into reportctl
    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.
 
Back to Top
jshan View Drop Down
Groupie
Groupie
Avatar

Joined: 07 December 2007
Status: Offline
Points: 63
Post Options Post Options   Thanks (0) Thanks(0)   Quote jshan Quote  Post ReplyReply Direct Link To This Post Posted: 07 January 2008 at 2:17am
ps:
the reportcontrols are in dialogs which in tab control
 
Back to Top
jshan View Drop Down
Groupie
Groupie
Avatar

Joined: 07 December 2007
Status: Offline
Points: 63
Post Options Post Options   Thanks (0) Thanks(0)   Quote jshan Quote  Post ReplyReply Direct Link To This Post 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 ?
 
 
Back to Top
jshan View Drop Down
Groupie
Groupie
Avatar

Joined: 07 December 2007
Status: Offline
Points: 63
Post Options Post Options   Thanks (0) Thanks(0)   Quote jshan Quote  Post ReplyReply Direct Link To This Post 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 ?
 
Back to Top
jshan View Drop Down
Groupie
Groupie
Avatar

Joined: 07 December 2007
Status: Offline
Points: 63
Post Options Post Options   Thanks (0) Thanks(0)   Quote jshan Quote  Post ReplyReply Direct Link To This Post Posted: 07 January 2008 at 6:50am
this is another issue.
 
in XTPeportControl.cpp,
3898 line
 
is this supposed to be "return TRUE" ?
 
 
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.203 seconds.