<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : _ResizeControls() and CXTPCalendarEvent</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : _ResizeControls() and CXTPCalendarEvent]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 30 May 2026 12:46:17 +0000</pubDate>
  <lastBuildDate>Wed, 27 May 2009 04:43:18 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=13443</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[_ResizeControls() and CXTPCalendarEvent :     zitz wrote:Why do not you...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13443&amp;PID=49380&amp;title=resizecontrols-and-cxtpcalendarevent#49380</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4605">zitz</a><br /><strong>Subject:</strong> 13443<br /><strong>Posted:</strong> 27 May 2009 at 4:43am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by zitz" alt="Originally posted by zitz" style="vertical-align: text-bottom;" /> <strong>zitz wrote:</strong><br /><br />Why do not you make the storage of records (CalendarEvents) in the CalendarControl like in ReportControl? Now is to safety <br><div style="text-align: left;" id="result_" dir="ltr"><div style="text-align: left;" id="result_" dir="ltr">and this is TOO SLOW...<br>Like ReportControl I want:<br>virtual CXTPCalendarEvent* AddEvent(CXTPCalendarEvent* pEvent);<br>(virtual CXTPReportRecord* AddRecord(CXTPReportRecord* pRecord);)<br>CXTPCalendarEvents* GetEvents() const;<br>(CXTPReportRecords* GetRecords() const;)<br>I need BOOL SetVisible(BOOL bVisible) and BOOL SetLocked(BOOL bLocked) at CXTPCalendarEvent<br><br>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)<br>Now I have to override 6 classes!!!!!!!!!<br>class CTODay_MultiDay : public CXTPCalendarThemeOffice2007::CTODayViewEvent_MultiDay<br>class CTODay_SingleDay : public CXTPCalendarThemeOffice2007::CTODayViewEvent_SingleDay<br>class CTOMonth_MultiDay : public CXTPCalendarThemeOffice2007::CTOMonthViewEvent_MultiDay<br>class CTOMonth_SingleDay : public CXTPCalendarThemeOffice2007::CTOMonthViewEvent_SingleDay<br>class CTOWeek_MultiDay : public CXTPCalendarThemeOffice2007::CTOWeekViewEvent_MultiDay<br>class CTOWeek_SingleDay : public CXTPCalendarThemeOffice2007::CTOWeekViewEvent_SingleDay<br>I dont use m_Sink.Advise becouse is TOO SLOW!<br>Why you not add 1 class for all views? Like CXTPReportRow?<br><br>I need void SelectDate( COleDateTime dtFrom, COleDateTime dtTo ) and void GetDate( COleDateTime* dtFrom, COleDateTime* dtTo ) methods at CXTPCalendarControl. I dont use CalendarController.<br></div></div></td></tr></table><br><div style="text-align: left;" id="result_" dir="ltr">What about this?</div>]]>
   </description>
   <pubDate>Wed, 27 May 2009 04:43:18 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13443&amp;PID=49380&amp;title=resizecontrols-and-cxtpcalendarevent#49380</guid>
  </item> 
  <item>
   <title><![CDATA[_ResizeControls() and CXTPCalendarEvent : I already answer somethere about...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13443&amp;PID=46313&amp;title=resizecontrols-and-cxtpcalendarevent#46313</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 13443<br /><strong>Posted:</strong> 05 March 2009 at 1:21pm<br /><br />I already answer somethere about this bug - it was fixed Feb, 25 and I publish the fix for MFC source - same as in SVN: <DIV>add following lines as end of function <FONT color=#0000ff size=2>void</FONT><FONT size=2> CXTPCalendarControlView::_ResizeControls()</FONT></DIV><DIV><FONT size=2>...............................................................................................................................</FONT></DIV><DIV><FONT size=2><P></FONT><FONT color=#0000ff size=2></P>else</FONT><FONT size=2> </FONT><FONT color=#008000 size=2>//no scrollbar</DIV><DIV></FONT><FONT size=2><P>{</P><P></FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2> (bRightToLeft)</P><P>GetCalendarCtrl().MoveWindow(nScroll, nCalendarY, cx - nScroll, max(0, cy - nCalendarY));</P><P></FONT><FONT color=#0000ff size=2>else</P></FONT><FONT size=2><P>GetCalendarCtrl().MoveWindow(0, nCalendarY, cx - nScroll, max(0, cy - nCalendarY));</P><P>}</P><P>}</P><P>}</P><DIV></DIV></FONT></DIV>]]>
   </description>
   <pubDate>Thu, 05 Mar 2009 13:21:32 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13443&amp;PID=46313&amp;title=resizecontrols-and-cxtpcalendarevent#46313</guid>
  </item> 
  <item>
   <title><![CDATA[_ResizeControls() and CXTPCalendarEvent :  Hello. I use Xtreme ToolkitPro...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13443&amp;PID=45598&amp;title=resizecontrols-and-cxtpcalendarevent#45598</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4605">zitz</a><br /><strong>Subject:</strong> 13443<br /><strong>Posted:</strong> 18 February 2009 at 12:53pm<br /><br />Hello. I use Xtreme ToolkitPro v13.0.0<br><br>void CXTPCalendarControlView::_ResizeControls()<br><br>If m_pScrollBar is NULL CalendarCtrl not move to his place, <br><div style="text-align: left;" id="result_" dir="ltr">I wanted to overload _ResizeControls, but m_pScrollBar is private member :(<br><br>Why do not you make the storage of records (CalendarEvents) in the CalendarControl like in ReportControl? Now is to safety <br><div style="text-align: left;" id="result_" dir="ltr">and this is TOO SLOW...<br>Like ReportControl I want:<br>virtual CXTPCalendarEvent* AddEvent(CXTPCalendarEvent* pEvent);<br>(virtual CXTPReportRecord* AddRecord(CXTPReportRecord* pRecord);)<br>CXTPCalendarEvents* GetEvents() const;<br>(CXTPReportRecords* GetRecords() const;)<br>I need BOOL SetVisible(BOOL bVisible) and BOOL SetLocked(BOOL bLocked) at CXTPCalendarEvent<br><br>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)<br>Now I have to override 6 classes!!!!!!!!!<br>class CTODay_MultiDay : public CXTPCalendarThemeOffice2007::CTODayViewEvent_MultiDay<br>class CTODay_SingleDay : public CXTPCalendarThemeOffice2007::CTODayViewEvent_SingleDay<br>class CTOMonth_MultiDay : public CXTPCalendarThemeOffice2007::CTOMonthViewEvent_MultiDay<br>class CTOMonth_SingleDay : public CXTPCalendarThemeOffice2007::CTOMonthViewEvent_SingleDay<br>class CTOWeek_MultiDay : public CXTPCalendarThemeOffice2007::CTOWeekViewEvent_MultiDay<br>class CTOWeek_SingleDay : public CXTPCalendarThemeOffice2007::CTOWeekViewEvent_SingleDay<br>I dont use m_Sink.Advise becouse is TOO SLOW!<br>Why you not add 1 class for all views? Like CXTPReportRow?<br><br>I need void SelectDate( COleDateTime dtFrom, COleDateTime dtTo ) and void GetDate( COleDateTime* dtFrom, COleDateTime* dtTo ) methods at CXTPCalendarControl. I dont use CalendarController.<br><br>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?<br></div></div>]]>
   </description>
   <pubDate>Wed, 18 Feb 2009 12:53:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13443&amp;PID=45598&amp;title=resizecontrols-and-cxtpcalendarevent#45598</guid>
  </item> 
 </channel>
</rss>