Print Page | Close Window

Own CXTPCalendarDayView

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Calendar
Forum Description: Topics Related to Codejock Calendar
URL: http://forum.codejock.com/forum_posts.asp?TID=17593
Printed Date: 19 April 2024 at 10:02pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Own CXTPCalendarDayView
Posted By: Marco1
Subject: Own CXTPCalendarDayView
Date 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)


-------------
Product: XTP 18.3.0 on VS 2017
Platform: VS 2017 / Windows 10 (64bit)



Replies:
Posted By: Marco1
Date 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!



-------------
Product: XTP 18.3.0 on VS 2017
Platform: VS 2017 / Windows 10 (64bit)


Posted By: Marco1
Date 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.



-------------
Product: XTP 18.3.0 on VS 2017
Platform: VS 2017 / Windows 10 (64bit)


Posted By: Marco1
Date 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)




-------------
Product: XTP 18.3.0 on VS 2017
Platform: VS 2017 / Windows 10 (64bit)


Posted By: kstowell
Date 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<



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net