Printing CXTPReportControl |
Post Reply |
Author | |
zaksoft
Senior Member Joined: 05 June 2003 Location: Italy Status: Offline Points: 162 |
Post Options
Thanks(0)
Posted: 09 October 2004 at 9:54am |
I've embedded a CXTPReportControl into a CDialog, it's a small (legacy) tray icon program, can I print the content of the report even if my program is not Doc/View based ? TIA.
Edited by zaksoft |
|
VS2008 SP1 - VS2010 SP1 - VS2012 - MFC MBCS Statically linked
XTP 15.3.1 Static Link --------------------------------------------------------- Davide Zaccanti - ZakSoft - www.zaksoft.com |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Try to embed CXTPReportView instead of CXTPReportControl. it support print without doc/view.
ps. CXTPReportView available in 9.50. |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
zaksoft
Senior Member Joined: 05 June 2003 Location: Italy Status: Offline Points: 162 |
Post Options
Thanks(0)
|
I've tryied many ways to do printing from a Dialog. 1) Cannot embed CXTPReportView since (as stated in line 39 of .h) CXTPReportView(); // protected constructor used by dynamic creation so embedding will fail 2) I've embedded all function in a CDialog and worked with many samples from various sorces (like Code Project) to add support for print preview but unsuccessfull. It's also possible (normal?) that the report requires more that a page ( portrait / landscape) for fitting all data. Do You plan to support printing in furure release ? I'm writing a general routine embedded in a CDialog class that esecute a query over an ODBC sources, enum field and create a report of fetched data. It's wonderful how user can coocse fields and group. All works except printing... and it's mandatory.. Any help will be highly appreciated. TIA.
|
|
VS2008 SP1 - VS2010 SP1 - VS2012 - MFC MBCS Statically linked
XTP 15.3.1 Static Link --------------------------------------------------------- Davide Zaccanti - ZakSoft - www.zaksoft.com |
|
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 |