<?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 : Select NONE</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : Select NONE]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 30 May 2026 16:38:30 +0000</pubDate>
  <lastBuildDate>Sat, 25 Sep 2010 14:50: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=13696</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[Select NONE :  Actually that bug still exists.Here&amp;#039;s...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13696&amp;PID=60470&amp;title=select-none#60470</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2657">Algae</a><br /><strong>Subject:</strong> 13696<br /><strong>Posted:</strong> 25 September 2010 at 2:50pm<br /><br />Actually that bug still exists.<br><br>Here's how I tried to get rid of it. CCalendarView is whatever you've called the CView for your calendar. My addition in blue. It <b>DOES NOT </b>work as expected. So the question to CJ is, how does one turn off the selection box? Especially for printing! It's not a question of an event existing or not, it's how to turn off the highlighting on a non-event when necessary.<br><br>void CCalendarView::OnFilePrintPreview()<br>{<br>&nbsp;&nbsp;&nbsp; GetDocument()-&gt;m_bPreview = TRUE;<br><br><font color="#0000cc">&nbsp;&nbsp;&nbsp; CXTPCalendarView* pView = DYNAMIC_DOWNCAST(CXTPCalendarDayView, GetCalendarCtrl().GetActiveView());<br>&nbsp;&nbsp;&nbsp; if (pView)<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pView-&gt;ResetSelection();<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pView-&gt;RedrawControl();<br>&nbsp;&nbsp;&nbsp; }</font><br><br>&nbsp;&nbsp;&nbsp; CPrintPreviewState* pState = new CPrintPreviewState;<br><br>&nbsp;&nbsp;&nbsp; if ( !DoPrintPreview( XTP_IDD_PREVIEW_DIALOGBAR, this,<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; RUNTIME_CLASS( CXTPPreviewView ), pState ))<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; TRACE0( "Error: DoPrintPreview failed.\n" );<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; AfxMessageBox( AFX_IDP_COMMAND_FAILURE );<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; delete pState;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // preview failed to initialize, delete State now<br>&nbsp;&nbsp;&nbsp; }<br>}<br><br>As you can see, ResetSelection removes any selection.<br><br>]]>
   </description>
   <pubDate>Sat, 25 Sep 2010 14:50:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13696&amp;PID=60470&amp;title=select-none#60470</guid>
  </item> 
  <item>
   <title><![CDATA[Select NONE : I think we already get rid from...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13696&amp;PID=52274&amp;title=select-none#52274</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 13696<br /><strong>Posted:</strong> 21 August 2009 at 12:16am<br /><br />I think we already get rid from such artefacts - now there is no way to create event without data - just start and end time is not enough ]]>
   </description>
   <pubDate>Fri, 21 Aug 2009 00:16:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13696&amp;PID=52274&amp;title=select-none#52274</guid>
  </item> 
  <item>
   <title><![CDATA[Select NONE : ?  ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13696&amp;PID=49266&amp;title=select-none#49266</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4605">zitz</a><br /><strong>Subject:</strong> 13696<br /><strong>Posted:</strong> 22 May 2009 at 4:51am<br /><br />?]]>
   </description>
   <pubDate>Fri, 22 May 2009 04:51:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13696&amp;PID=49266&amp;title=select-none#49266</guid>
  </item> 
  <item>
   <title><![CDATA[Select NONE : How can we deselect everything...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13696&amp;PID=46723&amp;title=select-none#46723</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3776">gmail</a><br /><strong>Subject:</strong> 13696<br /><strong>Posted:</strong> 15 March 2009 at 4:20pm<br /><br />How can we deselect everything (including cell selection with no event on it) on Calendar Control? The reason I'm asking is when we print out Calendar there's also that 'empty selection' shown on printer page? Check the attached image to see what I mean... Thanks for replying!<br><br><br><img src="uploads/20090315_161925_empty_selecti&#111;n.JPG" height="261" width="352" border="0">]]>
   </description>
   <pubDate>Sun, 15 Mar 2009 16:20:09 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13696&amp;PID=46723&amp;title=select-none#46723</guid>
  </item> 
 </channel>
</rss>