Print Page | Close Window

Report control in MDI document view ?

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


Topic: Report control in MDI document view ?
Posted By: unknow
Subject: Report control in MDI document view ?
Date Posted: 26 January 2009 at 5:26pm
Hi. Just a quick question ? is the report control designed for SDI document interface, or can it be used in MDI document architecture as well ?
 
I want to use it in a MDI document view with a splitter pane where the left pane is a Treeview and the right pane a Reportcontrol ; I used a listview before but I find many functionnalities in the reportcontrol that I can use.
 
Is there something against doing that ?
 
Thankx



Replies:
Posted By: unknow
Date Posted: 01 February 2009 at 1:09pm
Please, any hint  ?


Posted By: mdoubson
Date Posted: 09 February 2009 at 8:15am
You can use MDI architecture.


Posted By: mdoubson
Date Posted: 11 February 2009 at 5:25pm
What kind of hint you need? see ReportSample.cpp - SDI app and change CSingleDocTemplate on CMultiDocTemplate follow any MDI sample...

CSingleDocTemplate* pDocTemplate;

pDocTemplate = new CSingleDocTemplate(

IDR_MAINFRAME,

RUNTIME_CLASS(CReportSampleDoc),

RUNTIME_CLASS(CMainFrame), // main SDI frame window

RUNTIME_CLASS(CReportSampleView));

//RUNTIME_CLASS(CTaskListView));

AddDocTemplate(pDocTemplate);



-------------
Mark Doubson, Ph.D.


Posted By: unknow
Date Posted: 14 February 2009 at 9:54am

Thanks! I just needed to know if the report control could be used in MDI document/view architecture as all the programs I know of using the reportcontrol are always SDI.

My application has an explorer-like interface with a treeview on the left and a listview on the right ; I'm going to replace the listview by a reportcontrol view as it automatically handles grouping, sorting, printing etc...
 



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