Print Page | Close Window

CXTPReportFilterEditControl problem

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=7579
Printed Date: 22 November 2024 at 1:22pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPReportFilterEditControl problem
Posted By: idler
Subject: CXTPReportFilterEditControl problem
Date 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



Replies:
Posted By: idler
Date Posted: 27 July 2007 at 1:01am



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