<?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 : Drag Occurence</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : Drag Occurence]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 08:59:42 +0000</pubDate>
  <lastBuildDate>Wed, 15 Mar 2006 07:01: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=3637</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[Drag Occurence : It works fine, Thnk u ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3637&amp;PID=11436&amp;title=drag-occurence#11436</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1751">WaaZ</a><br /><strong>Subject:</strong> 3637<br /><strong>Posted:</strong> 15 March 2006 at 7:01am<br /><br /><P>It works fine,</P><P>Thnk u</P>]]>
   </description>
   <pubDate>Wed, 15 Mar 2006 07:01:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3637&amp;PID=11436&amp;title=drag-occurence#11436</guid>
  </item> 
  <item>
   <title><![CDATA[Drag Occurence : Something like following: g_LastEventID;EventChanged...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3637&amp;PID=11179&amp;title=drag-occurence#11179</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 3637<br /><strong>Posted:</strong> 24 February 2006 at 3:44pm<br /><br />Something like following:<br><br><table width="99%"><tr><td><pre class="BBcode"><br>g_LastEventID;<br>&nbsp;<br>EventChanged (e)<br>{<br>&nbsp;&nbsp;&nbsp; g_LastEventID = e.eventID;<br>}<br>&nbsp;<br>PatternChanged (e)<br>{<br>&nbsp;&nbsp;&nbsp; pPattern =  CalendarControl.DataProvider.GetRecurrencePattern(e.patternI D)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  <br>&nbsp;&nbsp;&nbsp; // iterate pPattern.Exceptions <br>&nbsp;&nbsp;&nbsp; // for<br>&nbsp;&nbsp;&nbsp; // pPattern.Exceptions<em>.EventID == g_LastEventID<br><br>}<br></pre></td></tr></table><br><br>--<br>WBR,<br>Serge<br>]]>
   </description>
   <pubDate>Fri, 24 Feb 2006 15:44:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3637&amp;PID=11179&amp;title=drag-occurence#11179</guid>
  </item> 
  <item>
   <title><![CDATA[Drag Occurence : Hi again, I click and drag an...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3637&amp;PID=11118&amp;title=drag-occurence#11118</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1751">WaaZ</a><br /><strong>Subject:</strong> 3637<br /><strong>Posted:</strong> 22 February 2006 at 3:22pm<br /><br /><P>Hi again,</P><P>I click and drag an occurence and in the Event handler <FONT size=2>CalendarControl_EventChanged(</FONT><FONT color=#0000ff size=2>object</FONT><FONT size=2> sender, AxXtremeCalendarControl.</FONT><FONT color=#008080 size=2>_DCalendarControlEvents_EventChangedEvent</FONT><FONT size=2> e), I get hold of e.eventID.</FONT></P><P><FONT size=2>The following code returns null;</FONT></P><FONT size=2><P></FONT><FONT face="Courier New, Courier, mono" color=#008080 size=2>CalendarHitTestInfo</FONT><FONT size=2><FONT face="Courier New, Courier, mono"> <FONT color=#0000cc>HitTest;</FONT></FONT></P><P><FONT face="Courier New, Courier, mono" color=#0000cc>HitTest = CalendarControl.ActiveView.HitTest();</FONT></P><P></FONT><FONT size=2><FONT color=#999999><FONT face="Courier New, Courier, mono" color=#0000cc>HitTest.ViewEvent</FONT>&nbsp;</FONT> -- .ViewEvent is null</FONT></P><P><FONT size=2>And also the following returns null:</FONT></P><FONT size=2><FONT color=#0000cc size=2><P>CalendarControl.DataProvider.GetEvent(e.eventID);</P></FONT><P>Can you please tell me how I can get hold of the new exception created and the new date. </P><P>Thnks</P><P>WaaZ</P></FONT>]]>
   </description>
   <pubDate>Wed, 22 Feb 2006 15:22:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3637&amp;PID=11118&amp;title=drag-occurence#11118</guid>
  </item> 
  <item>
   <title><![CDATA[Drag Occurence : Thnks, it works fine. ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3637&amp;PID=10942&amp;title=drag-occurence#10942</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1751">WaaZ</a><br /><strong>Subject:</strong> 3637<br /><strong>Posted:</strong> 13 February 2006 at 9:50am<br /><br /><P>Thnks,</P><P>it works fine.</P>]]>
   </description>
   <pubDate>Mon, 13 Feb 2006 09:50:20 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3637&amp;PID=10942&amp;title=drag-occurence#10942</guid>
  </item> 
  <item>
   <title><![CDATA[Drag Occurence : Hi WaaZ,Please find some more...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3637&amp;PID=10923&amp;title=drag-occurence#10923</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 3637<br /><strong>Posted:</strong> 11 February 2006 at 2:55am<br /><br />Hi WaaZ,<br><br>Please find some more description on times below:<br><br>1. Normal event and occurrence event have Start/End times.<br>&nbsp;<br>2. Exception event has Start/End times and Start/End times of the occurrence (RExceptionStartTimeOrig, RExceptionEndTimeOrig).<br>&nbsp;<br>MakeAsRException performs 2 actions: <br>- change recurrence state to exception <br>&nbsp; and<br>- copy times:<br>&nbsp;&nbsp;&nbsp; RExceptionStartTimeOrig = StartTime<br>&nbsp;&nbsp;&nbsp; RExceptionEndTimeOrig&nbsp; = EndTime<br>&nbsp;<br>This mean that for an exception you have to store 4 values of time (not 2):<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; StartTime<br>&nbsp;&nbsp;&nbsp; EndTime<br>&nbsp;&nbsp;&nbsp; RExceptionStartTimeOrig<br>&nbsp;&nbsp;&nbsp; RExceptionEndTimeOrig <br>&nbsp;<br>There are 2 ways to restore exception time properties:<br>&nbsp;<br>1.  ------------------------------------------------------------ ---------------------<br>&nbsp;&nbsp;&nbsp; excepEv.StartTime = &lt;original ocurrence start time&gt;<br>&nbsp;&nbsp;&nbsp; excepEv.EndTime = &lt;original ocurrence end time&gt;<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; excepEv.MakeAsRException()&nbsp; // copy times to RExceptionStartTimeOrig, RExceptionEndTimeOrig<br>&nbsp;<br>&nbsp;&nbsp;&nbsp; excepEv.StartTime = &lt;new exception start time&gt;<br>&nbsp;&nbsp;&nbsp; excepEv.EndTime = &lt;new exception end time&gt;<br>&nbsp;<br>2.  ------------------------------------------------------------ ---------------------<br>&nbsp;&nbsp;&nbsp; excepEv.MakeAsRException() <br>&nbsp;<br>&nbsp;&nbsp;&nbsp; excepEv.RExceptionStartTimeOrig = &lt;original ocurrence start time&gt; <br>&nbsp;&nbsp;&nbsp; excepEv.RExceptionEndTimeOrig = &lt;original ocurrence end time&gt;<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; excepEv.StartTime = &lt;new exception start time&gt;<br>&nbsp;&nbsp;&nbsp; excepEv.EndTime = &lt;new exception end time&gt;<br><br>--<br>WBR,<br>Serge<br><br><br>]]>
   </description>
   <pubDate>Sat, 11 Feb 2006 02:55:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3637&amp;PID=10923&amp;title=drag-occurence#10923</guid>
  </item> 
  <item>
   <title><![CDATA[Drag Occurence : hi, I have a master event and...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3637&amp;PID=10919&amp;title=drag-occurence#10919</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1751">WaaZ</a><br /><strong>Subject:</strong> 3637<br /><strong>Posted:</strong> 10 February 2006 at 6:03am<br /><br /><P>hi,</P><P>I have a master event and a recurrence pattern, which means that there is a series of occurences.</P><P>If I click and drag one of the occurences to another location, the occurence turns into an exception with a new date and time. I have stored this data in the database.</P><P><strong>Note that</strong> the exception has a different date/time.</P><P>When I load the form on which my calendar is a next time.. I need to make my exception replace the occurence.. and have the exception represented on the new "date/time"</P><P>Can I have a sample code that deals with that also please, because I really need it and the representation of the exception is still a problem for me.</P><P>Related forums: </P><P><A href="https://forum.codejock.com/forum_posts.asp?TID=3609&amp;PN=1" target="_blank">https://forum.codejock.com/forum_posts.asp?TID=3609&amp;PN=1</A></P><P><A href="https://forum.codejock.com/forum_posts.asp?TID=3595&amp;PN=1" target="_blank">https://forum.codejock.com/forum_posts.asp?TID=3595&amp;PN=1</A></P><P><A href="https://forum.codejock.com/forum_posts.asp?TID=3576&amp;PN=1" target="_blank">https://forum.codejock.com/forum_posts.asp?TID=3576&amp;PN=1</A></P><P>Thnx</P><P>WaaZ</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Fri, 10 Feb 2006 06:03:58 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3637&amp;PID=10919&amp;title=drag-occurence#10919</guid>
  </item> 
 </channel>
</rss>