Hello. I use Xtreme ToolkitPro v13.0.0
void CXTPCalendarControlView::_ResizeControls()
If m_pScrollBar is NULL CalendarCtrl not move to his place,
I wanted to overload _ResizeControls, but m_pScrollBar is private member :( Why do not you make the storage of records (CalendarEvents) in the CalendarControl like in ReportControl? Now is to safety and this is TOO SLOW... Like ReportControl I want: virtual CXTPCalendarEvent* AddEvent(CXTPCalendarEvent* pEvent); (virtual CXTPReportRecord* AddRecord(CXTPReportRecord* pRecord);) CXTPCalendarEvents* GetEvents() const; (CXTPReportRecords* GetRecords() const;) I need BOOL SetVisible(BOOL bVisible) and BOOL SetLocked(BOOL bLocked) at CXTPCalendarEvent
I very need virtual void GetItemMetrics(XTP_REPORTRECORDITEM_DRAWARGS* pDrawArgs, XTP_REPORTRECORDITEM_METRICS* pItemMetrics) at CXTPCalendarEvent. (for example, you use virtual void GetEventColors at CXTPCalendarThemeOffice2007::CTODayViewEvent_SingleDay for this) Now I have to override 6 classes!!!!!!!!! class CTODay_MultiDay : public CXTPCalendarThemeOffice2007::CTODayViewEvent_MultiDay class CTODay_SingleDay : public CXTPCalendarThemeOffice2007::CTODayViewEvent_SingleDay class CTOMonth_MultiDay : public CXTPCalendarThemeOffice2007::CTOMonthViewEvent_MultiDay class CTOMonth_SingleDay : public CXTPCalendarThemeOffice2007::CTOMonthViewEvent_SingleDay class CTOWeek_MultiDay : public CXTPCalendarThemeOffice2007::CTOWeekViewEvent_MultiDay class CTOWeek_SingleDay : public CXTPCalendarThemeOffice2007::CTOWeekViewEvent_SingleDay I dont use m_Sink.Advise becouse is TOO SLOW! Why you not add 1 class for all views? Like CXTPReportRow?
I need void SelectDate( COleDateTime dtFrom, COleDateTime dtTo ) and void GetDate( COleDateTime* dtFrom, COleDateTime* dtTo ) methods at CXTPCalendarControl. I dont use CalendarController.
a great problem to write a own drag-n-drop in calendar control... For example, how can i disable copy feature at drag-n-drop (ctrl+move event)? And how to do own copy feature when i drop my data to calendar?
|