Own CXTPCalendarDayView |
Post Reply |
Author | |
Marco1
Senior Member Joined: 16 January 2004 Location: Germany Status: Offline Points: 251 |
Post Options
Thanks(0)
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) |
|
Marco1
Senior Member Joined: 16 January 2004 Location: Germany Status: Offline Points: 251 |
Post Options
Thanks(0)
|
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! |
|
Marco1
Senior Member Joined: 16 January 2004 Location: Germany Status: Offline Points: 251 |
Post Options
Thanks(0)
|
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. |
|
Marco1
Senior Member Joined: 16 January 2004 Location: Germany Status: Offline Points: 251 |
Post Options
Thanks(0)
|
BUMP!
Please fix and change the class privacy. Still not possible to do things mentioned above. (with standard CJ code) |
|
kstowell
Admin Group Joined: 25 January 2003 Location: MIchigan, USA Status: Offline Points: 496 |
Post Options
Thanks(0)
|
I have confirmed that we will fix this with the next product release.
|
|
Kirk Stowell, President and CEO
CODEJOCK SOFTWARE SOLUTIONS< |
|
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 |