<?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 : disable the &quot;Click to add appointment&quot;</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : disable the &quot;Click to add appointment&quot;]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 30 May 2026 19:08:04 +0000</pubDate>
  <lastBuildDate>Thu, 02 Apr 2009 11:01:44 +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=12937</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[disable the &quot;Click to add appointment&quot; : Switch on Vista32 to be sure you...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12937&amp;PID=47502&amp;title=disable-the-click-to-add-appointment#47502</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 12937<br /><strong>Posted:</strong> 02 April 2009 at 11:01am<br /><br />Switch on Vista32 to be sure you are using trasted platform]]>
   </description>
   <pubDate>Thu, 02 Apr 2009 11:01:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12937&amp;PID=47502&amp;title=disable-the-click-to-add-appointment#47502</guid>
  </item> 
  <item>
   <title><![CDATA[disable the &quot;Click to add appointment&quot; : Note:We are building our application...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12937&amp;PID=47500&amp;title=disable-the-click-to-add-appointment#47500</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2903">KumarCJ</a><br /><strong>Subject:</strong> 12937<br /><strong>Posted:</strong> 02 April 2009 at 10:47am<br /><br /><P>Note:<BR><BR>We are building our application on vista 64 bit. </P>]]>
   </description>
   <pubDate>Thu, 02 Apr 2009 10:47:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12937&amp;PID=47500&amp;title=disable-the-click-to-add-appointment#47500</guid>
  </item> 
  <item>
   <title><![CDATA[disable the &quot;Click to add appointment&quot; : Hello Codejock Team, We are using...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12937&amp;PID=47476&amp;title=disable-the-click-to-add-appointment#47476</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2903">KumarCJ</a><br /><strong>Subject:</strong> 12937<br /><strong>Posted:</strong> 02 April 2009 at 2:36am<br /><br /><P>Hello Codejock Team,</P><P>We are using "Xtreme ToolkitPro v12.1.1".</P><P>We are using below code for not displaying "Click to add appointment" tooltip in our application.<BR>((CXTPCalendarControl*)this)-&gt;GetCalendarOptions()-&gt;bEnableAddNewTooltip = FALSE;</P><P>This code is working fine in debug/release mode of vc++ 6.0&nbsp; for all the developer machine and testers machines and having same directory settings, but when we use the same build exe with same codejock lib on other machine the issue arises.</P><P>When we build our application on build machine which is having same directory settings and same files in debug/release both the mode and try to run the our application exe.</P><P>&#091;Issue&#093;: "Click to add appointment" tooltip is appearing on calendar.</P><P>After this we tried using below code as suggested by Mark on "<a href="https://forum.codejock.com/search_results_posts.asp?SearchID=20090402013753&amp;KW=bEnableInPlaceCreate&#069;vent" target="_blank">https://forum.codejock.com/search_results_posts.asp?SearchID=20090402013753&amp;KW=bEnableInPlaceCreateEvent</A>"</P><P>((CXTPCalendarControl*)this)-&gt;GetCalendarOptions()-&gt;bEnableInPlaceCreateEvent = FALSE;</P><P>I wanted to know why it is good to use "((CXTPCalendarControl*)this)-&gt;GetCalendarOptions()-&gt;bEnableInPlaceCreateEvent = FALSE;" instead of using "((CXTPCalendarControl*)this)-&gt;GetCalendarOptions()-&gt;bEnableAddNewTooltip = FALSE;"</P><P>Please let us know the reason behind this.</P><P>&#091;Note:&#093; We did not tried "((CXTPCalendarControl*)this)-&gt;GetCalendarOptions()-&gt;bEnableInPlaceCreateEvent = FALSE;" on or build machine. Will try and let you know the result.<BR></P>]]>
   </description>
   <pubDate>Thu, 02 Apr 2009 02:36:25 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12937&amp;PID=47476&amp;title=disable-the-click-to-add-appointment#47476</guid>
  </item> 
  <item>
   <title><![CDATA[disable the &quot;Click to add appointment&quot; : Hi, Mak,  GetCalendarCtrl().G...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12937&amp;PID=43807&amp;title=disable-the-click-to-add-appointment#43807</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 12937<br /><strong>Posted:</strong> 19 December 2008 at 3:42pm<br /><br />Hi, Mak, <DIV><FONT color=#000000 size=2>GetCalendarCtrl().GetCalendarOptions()-&gt;bEnableAddNewTooltip = FALSE;</FONT></DIV><DIV><FONT color=#000000 size=2>will eliminate in-place editing but OnClick still generate New Event Dialog call - same as context menu with Add New Event item</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>What do you really want to keep?</FONT></DIV><DIV><FONT color=#008000 size=2></FONT>&nbsp;</DIV><DIV><FONT color=#000000 size=2>Looks like&nbsp;flag bEnableAddNewTooltip not working in current version but another flag - </FONT></DIV><DIV><FONT color=#000000 size=2>GetCalendarCtrl().GetCalendarOptions()-&gt;</FONT><FONT color=#008000 size=2><FONT size=2><FONT color=#000000>bEnableInPlaceCreateEvent = FALSE; </FONT></FONT></FONT></DIV><DIV><FONT color=#008000><FONT color=#000000 size=2>works - (I tested it)</FONT></DIV><DIV><FONT color=#000000 size=2>&nbsp;</FONT></DIV><DIV><FONT color=#000000 size=2>About OnClick and ContextMenu events:</FONT></DIV><DIV><FONT color=#000000 size=2>Calendar Control only send Notification to User View, e.g.</FONT></DIV><DIV><FONT color=#0000ff><P><FONT size=2>void</FONT></FONT><FONT color=#000000 size=2> CCalendarDemoView::AddNewEvent(...</FONT><FONT color=#000000><FONT size=2>)</FONT></P><DIV><FONT size=2>{</FONT></DIV><DIV><P><FONT size=2>CXTPCalendarEventPropertiesDlg dlg(&amp;GetCalendarCtrl(), TRUE, <FONT color=#0000ff>this</FONT>);</FONT></P></DIV><DIV><FONT size=2>}</FONT></DIV><DIV><FONT size=2>Inside this code - before dlg - you can implement your own logic and immediately return if don't want dialog appears. Same for ContextMenu - for you business logic you can delete Add Event menu item if needed.</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>Looks like I covered all your cases - right? </FONT></DIV><DIV><FONT size=2>Resume - set flag bEnableInPlaceCreateEvent FALSE to get rid from in-place event creation and implement your own logic in your code to allow or not OnClick and On Context Menu CXTPCalendarEventPropertiesDlg calls</FONT></FONT></DIV><DIV><FONT size=2></FONT></DIV><DIV><FONT size=2>&nbsp;</FONT></DIV></DIV><P></FONT>&nbsp;</P>]]>
   </description>
   <pubDate>Fri, 19 Dec 2008 15:42:58 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12937&amp;PID=43807&amp;title=disable-the-click-to-add-appointment#43807</guid>
  </item> 
  <item>
   <title><![CDATA[disable the &quot;Click to add appointment&quot; : Hi Mak,Add following piece of...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12937&amp;PID=43738&amp;title=disable-the-click-to-add-appointment#43738</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2774">prashant</a><br /><strong>Subject:</strong> 12937<br /><strong>Posted:</strong> 17 December 2008 at 8:48am<br /><br />Hi Mak,<br><br>Add following piece of code in your Calendar views OnInitialUpdate()<br><br><b>GetCalendarCtrl().GetCalendarOptions()-&gt;bEnableAddNewTooltip = FALSE;</b><br><br>Cheers <img src="http://forum.codejock.com/smileys/smiley20.gif" border="0" align="absmiddle"><br>]]>
   </description>
   <pubDate>Wed, 17 Dec 2008 08:48:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12937&amp;PID=43738&amp;title=disable-the-click-to-add-appointment#43738</guid>
  </item> 
  <item>
   <title><![CDATA[disable the &quot;Click to add appointment&quot; : Hi Oleg,  How can I disable the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12937&amp;PID=43695&amp;title=disable-the-click-to-add-appointment#43695</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2796">Makarand</a><br /><strong>Subject:</strong> 12937<br /><strong>Posted:</strong> 16 December 2008 at 12:17am<br /><br />Hi Oleg,<br /><br />How can I disable the "Click to add appointment" functionality?<br />see the attached image for the detail.<br /><br /><img src="uploads/20081216_001624_ClickToAdd.JPG" border="0"><br /><br />Waiting for reply.<br />- Mak]]>
   </description>
   <pubDate>Tue, 16 Dec 2008 00:17:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12937&amp;PID=43695&amp;title=disable-the-click-to-add-appointment#43695</guid>
  </item> 
 </channel>
</rss>