<?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 : CXTPCalendarCaptionBarControl</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : CXTPCalendarCaptionBarControl]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 30 May 2026 13:54:20 +0000</pubDate>
  <lastBuildDate>Sat, 01 Jun 2013 15:14:59 +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=21598</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[CXTPCalendarCaptionBarControl :  1. In Resouce View, select &amp;#034;Custom...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=21598&amp;PID=71049&amp;title=cxtpcalendarcaptionbarcontrol#71049</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8052">haime</a><br /><strong>Subject:</strong> 21598<br /><strong>Posted:</strong> 01 June 2013 at 3:14pm<br /><br />1. In Resouce View, select "Custom Control" and position it on the dialog.<div>2. Go to the control properties and in the "Class Name" put "XTPCalendar"</div><div>3. Right click on the control + "Add variable"</div><div>4. Add a control variable with type "CXTPCalendarControl"</div><div>5. Call member functions by using the member variable</div><div>&nbsp;</div><div>Do the above sequance for the "CXTPCalendarCaptionBarControl" (use "XTPCalendarCaptionBar" for "Class Name".</div><div>&nbsp;</div><div>Now connect the two by using the following code:</div><div>&nbsp;</div><div><font face="Times New Roman" size="3"></font><p ="Mso" style="margin: 0cm 0cm 0pt;"><font size="3"><font face="C&#111;nsolas"><span style="mso-tab-count: 1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>// Connectbetween the calendar control and the caption bar<o:p></o:p></font></font></p><font face="Times New Roman" size="3"></font><p ="Mso" style="margin: 0cm 0cm 0pt;"><font size="3"><font face="C&#111;nsolas"><span style="mso-tab-count: 1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>m_CaptionBar.GetTheme()-&gt;AttachCalendar(&amp;m_Calendar);<o:p></o:p></font></font></p><font face="Times New Roman" size="3"></font><p ="Mso" style="margin: 0cm 0cm 0pt;"><o:p><font face="C&#111;nsolas" size="3"></font></o:p>&nbsp;</p><font face="Times New Roman" size="3"></font><p ="Mso" style="margin: 0cm 0cm 0pt;"><font size="3"><font face="C&#111;nsolas"><span style="mso-tab-count: 1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>// PositionCaptionBar at the top of the Calendar control<o:p></o:p></font></font></p><font face="Times New Roman" size="3"></font><p ="Mso" style="margin: 0cm 0cm 0pt;"><font size="3"><font face="C&#111;nsolas"><span style="mso-tab-count: 1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>CRectrcCalendar, rcCaptionBar;<o:p></o:p></font></font></p><font face="Times New Roman" size="3"></font><p ="Mso" style="margin: 0cm 0cm 0pt;"><font size="3"><font face="C&#111;nsolas"><span style="mso-tab-count: 1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>m_Calendar.GetWindowRect(&amp;rcCalendar);<o:p></o:p></font></font></p><font face="Times New Roman" size="3"></font><p ="Mso" style="margin: 0cm 0cm 0pt;"><font size="3"><font face="C&#111;nsolas"><span style="mso-tab-count: 1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>ScreenToClient(&amp;rcCalendar);<o:p></o:p></font></font></p><font face="Times New Roman" size="3"></font><p ="Mso" style="margin: 0cm 0cm 0pt;"><font size="3"><font face="C&#111;nsolas"><span style="mso-tab-count: 1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>rcCaptionBar =m_CaptionBar.CalcMinRect(FALSE);<o:p></o:p></font></font></p><font face="Times New Roman" size="3"></font><p ="Mso" style="margin: 0cm 0cm 0pt;"><font size="3"><font face="C&#111;nsolas"><span style="mso-tab-count: 1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>rcCaptionBar.MoveToXY(rcCalendar.TopLeft());<o:p></o:p></font></font></p><font face="Times New Roman" size="3"></font><p ="Mso" style="margin: 0cm 0cm 0pt;"><font size="3"><font face="C&#111;nsolas"><span style="mso-tab-count: 1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>rcCaptionBar.right= rcCalendar.right;<o:p></o:p></font></font></p><font face="Times New Roman" size="3"></font><p ="Mso" style="margin: 0cm 0cm 0pt;"><font size="3"><font face="C&#111;nsolas"><span style="mso-tab-count: 1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>rcCalendar.top= rcCaptionBar.bottom + 1;<o:p></o:p></font></font></p><font face="Times New Roman" size="3"></font><p ="Mso" style="margin: 0cm 0cm 0pt;"><font size="3"><font face="C&#111;nsolas"><span style="mso-tab-count: 1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>m_Calendar.MoveWindow(&amp;rcCalendar);<o:p></o:p></font></font></p><font face="Times New Roman" size="3"></font><p ="Mso" style="margin: 0cm 0cm 0pt;"><font size="3"><font face="C&#111;nsolas"><span style="mso-tab-count: 1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>m_CaptionBar.MoveWindow(&amp;rcCaptionBar);<o:p></o:p></font></font></p><font face="Times New Roman" size="3"></font></div><font face="C&#111;nsolas" size="2"><font face="C&#111;nsolas" size="2"><p>&nbsp;</p></font></font><div>&nbsp;</div><div>Enjoy.</div><div>&nbsp;</div>]]>
   </description>
   <pubDate>Sat, 01 Jun 2013 15:14:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=21598&amp;PID=71049&amp;title=cxtpcalendarcaptionbarcontrol#71049</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPCalendarCaptionBarControl : Hi,do you figure how to show the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=21598&amp;PID=70912&amp;title=cxtpcalendarcaptionbarcontrol#70912</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8063">etiennepaquette</a><br /><strong>Subject:</strong> 21598<br /><strong>Posted:</strong> 06 May 2013 at 2:45pm<br /><br />Hi,<br><br>do you figure how to show the Calendar Caption bar in a dialog without using the CView. I try to do exactly the same thing as you and i don't find the way to do it.<br><br>Thanks for any hints<br><br><br>]]>
   </description>
   <pubDate>Mon, 06 May 2013 14:45:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=21598&amp;PID=70912&amp;title=cxtpcalendarcaptionbarcontrol#70912</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPCalendarCaptionBarControl :  Hi,I&amp;#039;ve just started to...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=21598&amp;PID=70861&amp;title=cxtpcalendarcaptionbarcontrol#70861</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8052">haime</a><br /><strong>Subject:</strong> 21598<br /><strong>Posted:</strong> 23 April 2013 at 3:16am<br /><br />Hi,<div>&nbsp;</div><div>I've just started to use the toolkit, and specifically the Calendar control, in an MFC environment (VS2010).</div><div>&nbsp;</div><div>I embeded the Calendar control object&nbsp;(CXTPCalendarControl)&nbsp;in a popup dialog (not using CView), but I don't see the CaptionBar control.</div><div>&nbsp;</div><div>According to the docs:</div><blockquote style="margin-right: 0px;" dir="ltr"><div><div ="Element207">CXTPCalendarCaptionBarControl represents CalendarCaptionBar control and used as a part of <a href="mk:@MSITStore:C:%5CProgram%20Files%20%28x86%29%5CCodejock%20Software%5CMFC%5CXtreme%20Calendar%20Pro%20v15.3.1%5Chelp%5CSymbolReference.chm::/CXTPCalendarC&#111;ntrol.html" target="_blank" rel="nofollow"><u><font color="#0066cc">CXTPCalendarControl</font></u></a> object. They looks and works as a single control but separated on 2 objects for customization possibilities. </div></div></blockquote><div>How can I make it visible?</div><div>&nbsp;</div><div>How can I access the CXTPCalendarCaptionBarControl members?</div><div>&nbsp;</div><div>Thanks.</div>]]>
   </description>
   <pubDate>Tue, 23 Apr 2013 03:16:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=21598&amp;PID=70861&amp;title=cxtpcalendarcaptionbarcontrol#70861</guid>
  </item> 
 </channel>
</rss>