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

CXTPReportFilterEditControl problem

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


Joined: 11 July 2007
Location: Russian Federation
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote idler Quote  Post ReplyReply Direct Link To This Post Topic: CXTPReportFilterEditControl problem
    Posted: 11 July 2007 at 5:20am

How to place CXTPReportFilterEditControl  on RibbonGroup?

I tried so:
 
class myview : public CFormView
{
...
CXTPReportFilterEditControl m_wndFilterEdit;
}
 
CXTPControlEdit* pFilterEdit = (CXTPControlEdit*)pTab->GetGroups()->GetAt(0)->GetAt(0);
 

BOOL y = m_wndFilterEdit.SubclassDlgItem(pFilterEdit->GetEditCtrl()->GetDlgCtrlId(), pFilterEdit->GetEditCtrl()->GetParent());

pReport->GetColumns()->GetReportHeader()->SetFilterEditCtrl(&m_wndFilterEdit);

I have ASSERT in SubclassDlgItem.
 
thanks for help
Back to Top
idler View Drop Down
Groupie
Groupie


Joined: 11 July 2007
Location: Russian Federation
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote idler Quote  Post ReplyReply Direct Link To This Post Posted: 27 July 2007 at 1:01am
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.156 seconds.