<?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 : [solved] Calendar crashes using the tab button</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : [solved] Calendar crashes using the tab button]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 05 Apr 2026 19:24:15 +0000</pubDate>
  <lastBuildDate>Tue, 07 Mar 2017 07:14:36 +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=23274</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[[solved] Calendar crashes using the tab button : Hi!Thank you very much for that...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23274&amp;PID=75601&amp;title=solved-calendar-crashes-using-the-tab-button#75601</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=9131">Lifthrasil</a><br /><strong>Subject:</strong> 23274<br /><strong>Posted:</strong> 07 March 2017 at 7:14am<br /><br />Hi!<br /><br />Thank you very much for that fix! This works for us and I'm very happy about that!  <img src="http://forum.codejock.com/smileys/smiley4.gif" border="0" align="middle" /> ]]>
   </description>
   <pubDate>Tue, 07 Mar 2017 07:14:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23274&amp;PID=75601&amp;title=solved-calendar-crashes-using-the-tab-button#75601</guid>
  </item> 
  <item>
   <title><![CDATA[[solved] Calendar crashes using the tab button : Hello Lifthrasil,We have solved...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23274&amp;PID=75599&amp;title=solved-calendar-crashes-using-the-tab-button#75599</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8730">olebed</a><br /><strong>Subject:</strong> 23274<br /><strong>Posted:</strong> 06 March 2017 at 5:20pm<br /><br /><span style="line-height: 16.8px; : rgb248, 248, 252;">Hello Lifthrasil,</span><br style="line-height: 16.8px; : rgb248, 248, 252;"><br style="line-height: 16.8px; : rgb248, 248, 252;"><span style=": rgb248, 248, 252;">We have solved this bug with fix below<table width="99%"><tr><td><pre class="BBcode"></span><span style=": rgb248, 248, 252;">BOOL CXTPCalendarDayView::_EnsureVisibleV(CXTPCalendarViewEvent* pViewEvent)</span><span style=": rgb248, 248, 252;"><div>{</div><div>&nbsp; &nbsp; if (!pViewEvent || !pViewEvent-&gt;GetEvent() || !GetCalendarControl() ||</div><div>&nbsp; &nbsp; &nbsp; &nbsp; !XTP_SAFE_GET2(pViewEvent, GetViewGroup_(), GetViewDay_(), NULL) )</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ASSERT(FALSE);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; return FALSE;</div><div>&nbsp; &nbsp; }</div><div><br></div><div>&nbsp; &nbsp; //---------------------------------------------------------------------------</div><div>&nbsp; &nbsp; if (pViewEvent-&gt;IsMultidayEvent())</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp;<b><font color="#00cc00"> if (0 != m_LayoutX.m_nAllDayEventHeight)</font></b></div><div><b><font color="#00cc00">&nbsp; &nbsp; &nbsp; &nbsp; {</font></b></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; int nEventIndex = (pViewEvent-&gt;m_rcEvent.top - m_LayoutX.m_rcAllDayEvents.top) / m_LayoutX.m_nAllDayEventHeight + m_LayoutX.m_nTopAllDayRow;</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (nEventIndex &gt;= m_LayoutX.m_nTopAllDayRow + m_LayoutX.m_nVisibleAllDayCount)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; m_LayoutX.m_nTopAllDayRow = nEventIndex - m_LayoutX.m_nVisibleAllDayCount + 1;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return TRUE;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else if (nEventIndex &lt; m_LayoutX.m_nTopAllDayRow)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; m_LayoutX.m_nTopAllDayRow = nEventIndex;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return TRUE;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp;<b><font color="#00cc00"> }</font></b></div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; return FALSE;</div><br></span><span style=": rgb248, 248, 252;">&nbsp; &nbsp; }<br></span><span style=": rgb248, 248, 252;">....</pre></td></tr></table></span><br style="line-height: 16.8px; : rgb248, 248, 252;"><br style="line-height: 16.8px; : rgb248, 248, 252;"><span style="line-height: 16.8px; : rgb248, 248, 252;">Regards,</span><br style="line-height: 16.8px; : rgb248, 248, 252;"><span style="line-height: 16.8px; : rgb248, 248, 252;">&nbsp;Oleksandr Lebed</span>]]>
   </description>
   <pubDate>Mon, 06 Mar 2017 17:20:00 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23274&amp;PID=75599&amp;title=solved-calendar-crashes-using-the-tab-button#75599</guid>
  </item> 
  <item>
   <title><![CDATA[[solved] Calendar crashes using the tab button : Hi!No sorry, that&amp;#039;s not working...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23274&amp;PID=75577&amp;title=solved-calendar-crashes-using-the-tab-button#75577</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=9131">Lifthrasil</a><br /><strong>Subject:</strong> 23274<br /><strong>Posted:</strong> 28 February 2017 at 7:46am<br /><br />Hi!<br /><br />No sorry, that's not working because there's an ASSERT popping up and the event is not visible anymore afterwards.<br />It's not that urgent but if I would know that in the next 3 weeks it would be possible to get a bug fix for our version (we use an older one, 16.4.0.0) it would be very cool because then we would not invest time in it any more ;)<br />Because until now I am a little bit confused. It seems that these variables are not initialized because when using Office 2013 Outlook the AdjustLayout function of the views isn't called, which would set them. But I am not sure if this is ok or not ;)]]>
   </description>
   <pubDate>Tue, 28 Feb 2017 07:46:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23274&amp;PID=75577&amp;title=solved-calendar-crashes-using-the-tab-button#75577</guid>
  </item> 
  <item>
   <title><![CDATA[[solved] Calendar crashes using the tab button : in file Source\Calendar\XTPCalendarDayView.cpp...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23274&amp;PID=75576&amp;title=solved-calendar-crashes-using-the-tab-button#75576</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8730">olebed</a><br /><strong>Subject:</strong> 23274<br /><strong>Posted:</strong> 28 February 2017 at 7:33am<br /><br />in file <span style="line-height: 16.8px; : rgb248, 248, 252;">Source\Calendar\XTPCalendarDayView.cpp method &nbsp; CXTPCalendarDayView::_EnsureVisibleV()<br>I think you can use "max" to prevent division by zero, but I don't have enough time to check whole algorithm now.<br><table width="99%"><tr><td><pre class="BBcode"></span><span style="font-family: &quot;Courier New&quot;, Courier, mono; line-height: 16.8px; : rgb248, 248, 252;">int nEventIndex = (pViewEvent-&gt;m_rcEvent.top - m_LayoutX.m_rcAllDayEvents.top) /<b><font color="#009900">max(1,&nbsp;</font></b></span><font style="font-family: &quot;Courier New&quot;, Courier, mono; line-height: 16.8px;" color="#009900"><b>m_LayoutX.m_nAllDayEventHeight + m_LayoutX.m_nTopAllDayRow)</b></font><span style="font-family: &quot;Courier New&quot;, Courier, mono; line-height: 16.8px;">;</span><span style="line-height: 16.8px; : rgb248, 248, 252;"></pre></td></tr></table></span>]]>
   </description>
   <pubDate>Tue, 28 Feb 2017 07:33:29 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23274&amp;PID=75576&amp;title=solved-calendar-crashes-using-the-tab-button#75576</guid>
  </item> 
  <item>
   <title><![CDATA[[solved] Calendar crashes using the tab button : Hi!The thing is, that we (Copa...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23274&amp;PID=75575&amp;title=solved-calendar-crashes-using-the-tab-button#75575</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=9131">Lifthrasil</a><br /><strong>Subject:</strong> 23274<br /><strong>Posted:</strong> 28 February 2017 at 7:24am<br /><br />Hi!<br /><br />The thing is, that we (Copa Data) have bought the calendar (source code) and actually we have this problem also in our program. So if I would know, that this issue is fixed in a certain amount of time, I would not have to invest time to find a temporary fix. Would this be possible? Would it then be possible to send us the code with the fix or a description what to fix, how and where? This would be really nice :D<br />Thanks in advance for your support!]]>
   </description>
   <pubDate>Tue, 28 Feb 2017 07:24:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23274&amp;PID=75575&amp;title=solved-calendar-crashes-using-the-tab-button#75575</guid>
  </item> 
  <item>
   <title><![CDATA[[solved] Calendar crashes using the tab button : Hello Lifthrasil,Thank you for...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23274&amp;PID=75574&amp;title=solved-calendar-crashes-using-the-tab-button#75574</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8730">olebed</a><br /><strong>Subject:</strong> 23274<br /><strong>Posted:</strong> 28 February 2017 at 6:45am<br /><br /><span style="line-height: 16.8px;">Hello Lifthrasil,</span><br style="line-height: 16.8px;"><br style="line-height: 16.8px;"><span style="line-height: 16.8px;">Thank you for bringing this to our attention. There is exception "</span><b style="line-height: 16.8px;"><font color="#000099">integer division by zero</font></b><span style="line-height: 16.8px;">" in Source\Calendar\XTPCalendarDayView.cpp &nbsp;&nbsp;CXTPCalendarDayView::_EnsureVisibleV()</span><br style="line-height: 16.8px;"><span style="line-height: 16.8px;"><table width="99%"><tr><td><pre class="BBcode">int nEventIndex = (pViewEvent-&gt;m_rcEvent.top - m_LayoutX.m_rcAllDayEvents.top) /</span><font color="#993300" style="line-height: 16.8px;">m_LayoutX.m_nAllDayEventHeight + m_LayoutX.m_nTopAllDayRow</font><span style="line-height: 16.8px;">;</pre></td></tr></table></span><br style="line-height: 16.8px;"><br style="line-height: 16.8px;"><span style="line-height: 16.8px;">I have added this to our bug base.&nbsp;The problem will be addressed according to its priority. You will be&nbsp;</span><span style="line-height: 1.4;">notified through this forum topic about any progress on this task.</span><br style="line-height: 16.8px;"><br style="line-height: 16.8px;"><span style="line-height: 16.8px;">For reports about bugs you can use form on our site &nbsp;&nbsp;</span><a href="http://www.codejock.com/support" target="_blank" rel="nofollow">https://www.codejock.com/support</a><br style="line-height: 16.8px;"><span style="line-height: 16.8px;">in menu Support &gt; Request Support.</span><br style="line-height: 16.8px;"><br style="line-height: 16.8px;"><span style="line-height: 16.8px;">Regards,</span><br style="line-height: 16.8px;"><span style="line-height: 16.8px;">&nbsp;Oleksandr Lebed</span>]]>
   </description>
   <pubDate>Tue, 28 Feb 2017 06:45:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23274&amp;PID=75574&amp;title=solved-calendar-crashes-using-the-tab-button#75574</guid>
  </item> 
  <item>
   <title><![CDATA[[solved] Calendar crashes using the tab button : I start your sample version 17.3.0.0.In...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23274&amp;PID=75573&amp;title=solved-calendar-crashes-using-the-tab-button#75573</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=9131">Lifthrasil</a><br /><strong>Subject:</strong> 23274<br /><strong>Posted:</strong> 28 February 2017 at 4:47am<br /><br />I start your sample version 17.3.0.0.<br />In this version I've the theme (important) Office 2013 -&gt; Outlook activated and I do not fill the calendar with sample data. So it's empty.<br />If I go to monday and create a new event, give it a name, check the "all day event" checkbox and press ok, this event is created. If I now press the "tab" key on my keyboard it's crashing.<br /><br />I'v not found your bug report interface <img src="http://forum.codejock.com/smileys/smiley5.gif" border="0" align="middle" />, that's why I'm posting it here.]]>
   </description>
   <pubDate>Tue, 28 Feb 2017 04:47:10 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23274&amp;PID=75573&amp;title=solved-calendar-crashes-using-the-tab-button#75573</guid>
  </item> 
 </channel>
</rss>