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

Own CXTPCalendarDayView

 Post Reply Post Reply
Author
Message
Marco1 View Drop Down
Senior Member
Senior Member


Joined: 16 January 2004
Location: Germany
Status: Offline
Points: 251
Post Options Post Options   Thanks (0) Thanks(0)   Quote Marco1 Quote  Post ReplyReply Direct Link To This Post Topic: Own CXTPCalendarDayView
    Posted: 23 November 2010 at 2:21pm
I need my own CXTPCalendarDayView in CXTPCalendarControl.

Unfortunately all variables are private and it's not possible at all to setup your own CXTPCalendarDayView derived class.

So please make the according vars "protected" (some there was a thread where users could wish which privates should get protected ones)
or setup some functions like void CXTPCalendarControl::SetDayView(CXTPCalendarView*) in CalendarController.

Oleg, can this be done in new release? ("protected" would help a lot)
Back to Top
Marco1 View Drop Down
Senior Member
Senior Member


Joined: 16 January 2004
Location: Germany
Status: Offline
Points: 251
Post Options Post Options   Thanks (0) Thanks(0)   Quote Marco1 Quote  Post ReplyReply Direct Link To This Post Posted: 26 November 2010 at 9:44am
And there's a little more to be "protected" (instead of private) to derive an own day view.

class _XTP_EXT_CLASS CViewChangedContext

in XTPCalendarControl.h is missing and most of the private vars schould be protected or inheritance gets really challenging. Why are you so restrictive?

In XTPCalendarDayView.h funtions like
ClearDays();
_AddDay(const COleDateTime& date);

should be "protected" to be used by the derived class. I recommend changing line 909 to "protected:"
Would really help a lot!

Back to Top
Marco1 View Drop Down
Senior Member
Senior Member


Joined: 16 January 2004
Location: Germany
Status: Offline
Points: 251
Post Options Post Options   Thanks (0) Thanks(0)   Quote Marco1 Quote  Post ReplyReply Direct Link To This Post Posted: 23 February 2013 at 6:41pm
Come on, please, living three years with some bad hacks to get around this now.
Please(!), finally fix this in 15.4.1, 16.0.1 or what ever is next.

Back to Top
Marco1 View Drop Down
Senior Member
Senior Member


Joined: 16 January 2004
Location: Germany
Status: Offline
Points: 251
Post Options Post Options   Thanks (0) Thanks(0)   Quote Marco1 Quote  Post ReplyReply Direct Link To This Post Posted: 29 August 2013 at 12:39pm
BUMP!
Please fix and change the class privacy.
Still not possible to do things mentioned above. Confused (with standard CJ code)


Back to Top
kstowell View Drop Down
Admin Group
Admin Group


Joined: 25 January 2003
Location: MIchigan, USA
Status: Offline
Points: 496
Post Options Post Options   Thanks (0) Thanks(0)   Quote kstowell Quote  Post ReplyReply Direct Link To This Post Posted: 08 July 2014 at 11:10pm
I have confirmed that we will fix this with the next product release.
Kirk Stowell, President and CEO
CODEJOCK SOFTWARE SOLUTIONS<
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.139 seconds.