Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Calendar
  New Posts New Posts RSS Feed - CXTPCalendarControlView::OnFilePrint
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTPCalendarControlView::OnFilePrint

 Post Reply Post Reply
Author
Message
_fred_ View Drop Down
Newbie
Newbie


Joined: 03 October 2006
Location: Italy
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote _fred_ Quote  Post ReplyReply Direct Link To This Post Topic: CXTPCalendarControlView::OnFilePrint
    Posted: 04 October 2006 at 3:31am
Can I Print/Draw on my CDC and i can't use CXTPCalendarControlView::OnFilePrint
 
Thanks
Back to Top
sserge View Drop Down
Moderator Group
Moderator Group


Joined: 01 December 2004
Status: Offline
Points: 1297
Post Options Post Options   Thanks (0) Thanks(0)   Quote sserge Quote  Post ReplyReply Direct Link To This Post Posted: 04 October 2006 at 8:28am
You can use CXTPCalendarControlView::OnPrint(CDC* pDC, CPrintInfo* pInfo).
See also implementation of CView::OnFilePrint()

You can copy code from there and adjust it for your needs if you'd like.

--
WBR,
Serge
Back to Top
fba123 View Drop Down
Newbie
Newbie


Joined: 12 September 2006
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote fba123 Quote  Post ReplyReply Direct Link To This Post Posted: 10 December 2006 at 2:31am

whe i print using the classic Document/View Architecture the CXTPCalendarControlView print partial row (08:00 to 19:00) in Day View.

the same one problem is visible also in yours example.
 
Thanks.
PS: i have XTPToolkit Pro 10.31
 
 
 
Back to Top
sserge View Drop Down
Moderator Group
Moderator Group


Joined: 01 December 2004
Status: Offline
Points: 1297
Post Options Post Options   Thanks (0) Thanks(0)   Quote sserge Quote  Post ReplyReply Direct Link To This Post Posted: 10 December 2006 at 1:45pm
Originally posted by fba123 fba123 wrote:

whe i print using the classic Document/View Architecture the CXTPCalendarControlView print partial row (08:00 to 19:00) in Day View.

the same one problem is visible also in yours example.
 
Thanks.
PS: i have XTPToolkit Pro 10.31
   


It's not a bug, it's a feature

You can choose a start time for printing -- look at Page Setup dialog in the sample application.

--
WBR,
Serge
Back to Top
fba123 View Drop Down
Newbie
Newbie


Joined: 12 September 2006
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote fba123 Quote  Post ReplyReply Direct Link To This Post Posted: 11 December 2006 at 1:12am
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.