Report control in MDI document view ? |
Post Reply |
Author | |
unknow
Groupie Joined: 14 January 2009 Location: Belgium Status: Offline Points: 62 |
Post Options
Thanks(0)
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
|
|
unknow
Groupie Joined: 14 January 2009 Location: Belgium Status: Offline Points: 62 |
Post Options
Thanks(0)
|
Please, any hint ?
|
|
mdoubson
Senior Member Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
|
You can use MDI architecture.
|
|
mdoubson
Senior Member Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
|
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 windowRUNTIME_CLASS(CReportSampleView)); //RUNTIME_CLASS(CTaskListView));AddDocTemplate(pDocTemplate); |
|
unknow
Groupie Joined: 14 January 2009 Location: Belgium Status: Offline Points: 62 |
Post Options
Thanks(0)
|
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...
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |