Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - access to XTPReport's records and cells
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

access to XTPReport's records and cells

 Post Reply Post Reply
Author
Message
xinyang View Drop Down
Groupie
Groupie


Joined: 12 July 2009
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote xinyang Quote  Post ReplyReply Direct Link To This Post Topic: access to XTPReport's records and cells
    Posted: 14 July 2009 at 9:13am
how  do to have access to XTPReport's records and cells from Another program.
i want to do it  as this
HWND hchild=::FindWindowEx(hp, NULL,"XTPReport",NULL);
if(hchild)
{
      CXTPReportControl*  m_wndReport=new CXTPReportControl();
      m_wndReport->Attach(hchild);
         CXTPReportRows* m_reportrow=new CXTPReportRows();
            m_reportrow=m_wndReport->GetRows();            //
             int count=m_reportrow->GetCount();                //but count=0; have a error;
.............................
}
 
but it is not able to have access to its records and cells,
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 14 July 2009 at 1:16pm
You can't access memory of another application. It can send you data with some WM_COPYDATA message.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
xinyang View Drop Down
Groupie
Groupie


Joined: 12 July 2009
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote xinyang Quote  Post ReplyReply Direct Link To This Post Posted: 14 July 2009 at 7:31pm
if i want to send some massages
but i don't know how to do
 ::sendmassge(handle,????,????,?????);
 
 
 
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.046 seconds.