<?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]Question of selection.</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : [Solved]Question of selection.]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 30 May 2026 12:44:08 +0000</pubDate>
  <lastBuildDate>Fri, 18 Sep 2009 08:46:52 +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=15174</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]Question of selection. : Right - you can use GetSelection...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15174&amp;PID=53186&amp;title=solvedquestion-of-selection#53186</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 15174<br /><strong>Posted:</strong> 18 September 2009 at 8:46am<br /><br /><FONT color=#000000>Right - you can use GetSelection to fill <FONT size=2>provided COleDateTime</FONT><FONT size=2> objects with the values of the selection beginning, ending,</FONT><FONT size=2> and selection unit length.<DIV></DIV>But before you (user) need to MAKE this selection with mouse or <FONT size=2>SetSelection(...) call</FONT></FONT></FONT>]]>
   </description>
   <pubDate>Fri, 18 Sep 2009 08:46:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15174&amp;PID=53186&amp;title=solvedquestion-of-selection#53186</guid>
  </item> 
  <item>
   <title><![CDATA[[Solved]Question of selection. : My &amp;#034;selected area&amp;#034; is..... Perhaps...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15174&amp;PID=53168&amp;title=solvedquestion-of-selection#53168</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5509">u8702656</a><br /><strong>Subject:</strong> 15174<br /><strong>Posted:</strong> 17 September 2009 at 10:04pm<br /><br /><DIV>My "selected area" is.....</DIV><DIV>Perhaps the following&nbsp;code can explain more clearly.</DIV><DIV>&nbsp;</DIV><DIV>COleDateTime pBegin;&nbsp;<BR>COleDateTime pEnd;</DIV><DIV>int pnGroupIndex;&nbsp;<BR>COleDateTimeSpan pspSelectionResolution;</DIV><DIV>m_ctrlCalendar.GetActiveView()-&gt;GetSelection(&amp;pBegin,&amp;pEnd,NULL,&amp;pnGroupIndex,&amp;pspSelectionResolution);</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>I get Event of one day, Compare each time started and&nbsp;end time of event with pBegin and pEnd.</DIV><DIV>And I will know which Event chosen is. </DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 17 Sep 2009 22:04:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15174&amp;PID=53168&amp;title=solvedquestion-of-selection#53168</guid>
  </item> 
  <item>
   <title><![CDATA[[Solved]Question of selection. : What is &amp;#034;selected area&amp;#034;?...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15174&amp;PID=53159&amp;title=solvedquestion-of-selection#53159</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 15174<br /><strong>Posted:</strong> 17 September 2009 at 8:59am<br /><br /><P>What is "selected area"? Specific day? Like dtNow in your code?</P>]]>
   </description>
   <pubDate>Thu, 17 Sep 2009 08:59:47 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15174&amp;PID=53159&amp;title=solvedquestion-of-selection#53159</guid>
  </item> 
  <item>
   <title><![CDATA[[Solved]Question of selection. : You misunderstand my meaning....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15174&amp;PID=53137&amp;title=solvedquestion-of-selection#53137</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5509">u8702656</a><br /><strong>Subject:</strong> 15174<br /><strong>Posted:</strong> 16 September 2009 at 11:01pm<br /><br />You misunderstand my meaning. <DIV>For example :</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; There are three Events on Monday,as I Lbuttondown the first Cell of Monday and been choosing the last one all the time.</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; How should I get these three Events?</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>I have found a solution -&gt;&nbsp;Use CXTPCalendarData.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp; CXTPCalendarData* pCalendarData;</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp; COleDateTime dNow = COleDateTime::GetCurrentTime();<BR>&nbsp;&nbsp;&nbsp;&nbsp; pCalendarData = m_ctrlCalendar.GetDataProvider();&nbsp; //CXTPCalendarControl m_ctrlCalendar</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp; CXTPCalendarEventsPtr MouseSelEvents = pCalendarData-&gt;RetrieveDayEvents(dNow);</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp; for(int i=EventsCount-1;i&gt;=0;i--)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CXTPCalendarEvent *SelEvent = MouseSelEvents-&gt;GetAt(i);</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .................</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</DIV><DIV>&nbsp;</DIV><DIV>Please tell me if there are better methods.</DIV>]]>
   </description>
   <pubDate>Wed, 16 Sep 2009 23:01:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15174&amp;PID=53137&amp;title=solvedquestion-of-selection#53137</guid>
  </item> 
  <item>
   <title><![CDATA[[Solved]Question of selection. : Tryuse Shift + Click or Ctrl +...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15174&amp;PID=53105&amp;title=solvedquestion-of-selection#53105</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 15174<br /><strong>Posted:</strong> 16 September 2009 at 12:43pm<br /><br />Try&nbsp;use Shift + Click or Ctrl + Click]]>
   </description>
   <pubDate>Wed, 16 Sep 2009 12:43:43 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15174&amp;PID=53105&amp;title=solvedquestion-of-selection#53105</guid>
  </item> 
  <item>
   <title><![CDATA[[Solved]Question of selection. :  I used xtpCalendarWorkWeekView...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15174&amp;PID=53029&amp;title=solvedquestion-of-selection#53029</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5509">u8702656</a><br /><strong>Subject:</strong> 15174<br /><strong>Posted:</strong> 15 September 2009 at 5:38am<br /><br /><DIV>&nbsp;</DIV><DIV>I used xtpCalendarWorkWeekView style.</DIV><DIV>Could you tell me how to get to use the&nbsp;mouse to choose all Events in the select area ?</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 15 Sep 2009 05:38:29 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15174&amp;PID=53029&amp;title=solvedquestion-of-selection#53029</guid>
  </item> 
 </channel>
</rss>