<?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 : How...?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : How...?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 30 May 2026 03:33:39 +0000</pubDate>
  <lastBuildDate>Wed, 19 Dec 2007 14:08:09 +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=9116</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[How...? : Instead of disable operation =...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9116&amp;PID=29618&amp;title=how#29618</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3523">Rafael</a><br /><strong>Subject:</strong> 9116<br /><strong>Posted:</strong> 19 December 2007 at 2:08pm<br /><br />Instead of disable operation = true, just exit sub ]]>
   </description>
   <pubDate>Wed, 19 Dec 2007 14:08:09 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9116&amp;PID=29618&amp;title=how#29618</guid>
  </item> 
  <item>
   <title><![CDATA[How...? : In the sample the following code...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9116&amp;PID=29617&amp;title=how#29617</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3523">Rafael</a><br /><strong>Subject:</strong> 9116<br /><strong>Posted:</strong> 19 December 2007 at 2:05pm<br /><br />In the sample the following code is found in IsEditOperationDisabled.&nbsp; If just before you do the 'mnuNewEvent_Click' in the DblClick Event, you use this code, it will determine what day you clicked and you can react accordingly.<DIV>&nbsp;</DIV><DIV>&lt;code&gt;</DIV><DIV>&nbsp;</DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If DisableInPlaceCreateEvents_ForSaSu Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim dtBegin As Date, dtEnd As Date, bAllDay As Boolean<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim nSelDays As Long, nSelWDay As Long<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If CalendarControl.ActiveView.GetSelection(dtBegin, dtEnd, bAllDay) = False Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Exit Sub<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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gt;= 7 Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DisableOperation = True<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<BR>&nbsp;End If<DIV>&nbsp;</DIV><DIV>&lt;/code&gt;</DIV><DIV>&nbsp;</DIV><DIV>The Hit test will tell you where you clicked, but not which day.&nbsp; You can test that by breaking down the selection.</DIV>]]>
   </description>
   <pubDate>Wed, 19 Dec 2007 14:05:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9116&amp;PID=29617&amp;title=how#29617</guid>
  </item> 
  <item>
   <title><![CDATA[How...? : Hi,  if I set my work days from...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9116&amp;PID=29499&amp;title=how#29499</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2368">cmm2006</a><br /><strong>Subject:</strong> 9116<br /><strong>Posted:</strong> 16 December 2007 at 4:31pm<br /><br />Hi, <DIV>if I set my work days from Monday to Friday, how can I be able to tell the user every time he tries to add an event in the calendar in one of those days? (same question if I decides to change the work days to different days)</DIV><DIV>&nbsp;</DIV><DIV><strong><U>Note</U></strong>: I checked the calendarcontrol sample (Advanced Options) and I find the option de disable the creation of event on Saturday and Sunday (chkDisableInPlaceCreateEvents), it works good but when you double click it will open the 'New Event' window, and my request consist in disabling the double click also.</DIV><DIV>thank you!!!</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Sun, 16 Dec 2007 16:31:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9116&amp;PID=29499&amp;title=how#29499</guid>
  </item> 
 </channel>
</rss>