<?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 : CXTPDockContext not accessible :(</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : CXTPDockContext not accessible :(]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 00:10:35 +0000</pubDate>
  <lastBuildDate>Tue, 31 Aug 2010 05:15:21 +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=17175</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[CXTPDockContext not accessible :( : Had to change CommandBars\Includes.h:  #include...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17175&amp;PID=59964&amp;title=cxtpdockcontext-not-accessible#59964</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 17175<br /><strong>Posted:</strong> 31 August 2010 at 5:15am<br /><br />Had to change CommandBars\Includes.h:<DIV>&nbsp;</DIV><DIV>#include "XTPFrameWnd.h"<BR>#include "XTPDockBar.h"<BR><strong>#include "XTPDockContext.h"<BR></strong>#include "XTPCommandBars.h"</DIV>]]>
   </description>
   <pubDate>Tue, 31 Aug 2010 05:15:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17175&amp;PID=59964&amp;title=cxtpdockcontext-not-accessible#59964</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPDockContext not accessible :( : I want to put a &amp;#034;dead&amp;#034;...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17175&amp;PID=59963&amp;title=cxtpdockcontext-not-accessible#59963</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 17175<br /><strong>Posted:</strong> 31 August 2010 at 4:25am<br /><br /><DIV>I want to put a "dead" label on my toolbar. To get the desired behavior, I override CXTPToolBar::OnLButtonDown as shown below. The problem is that I get this compilation error:</DIV><DIV><strong>error C2027: use of undefined type 'CXTPDockContext'</strong></DIV><DIV>&nbsp;</DIV><DIV>Is there a workaround?</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>void CMyToolBar::OnLButtonDown(UINT nFlags, CPoint point) <BR>{<BR>&nbsp;if (m_barPosition == xtpBarFloating)<BR>&nbsp;&nbsp;SetWindowPos(&amp;CWnd::wndTop, 0, 0, 0, 0, SWP_NOSIZE | SWP_NOMOVE | SWP_NOACTIVATE);</DIV><P>&nbsp;CXTPControl *pControl = m_pControls-&gt;HitTest(point);<BR>&nbsp;if (pControl == NULL || pControl-&gt;GetFlags() &amp; xtpFlagSkipFocus)<BR>&nbsp;{<BR>&nbsp;&nbsp;m_pCommandBars-&gt;ClosePopups();</P><P>&nbsp;&nbsp;if (m_pDockContext &amp;&amp; ((m_dwFlags &amp; (xtpFlagAlignAny | xtpFlagFloating)) != 0))<BR>&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;ClientToScreen(&amp;point);<BR>&nbsp;&nbsp;&nbsp;m_pDockContext-&gt;StartDrag(point);<BR>&nbsp;&nbsp;}<BR>&nbsp;}<BR>&nbsp;else<BR>&nbsp;{<BR>&nbsp;&nbsp;CXTPCommandBar::OnLButtonDown(nFlags, point);<BR>&nbsp;}<BR>}</P>]]>
   </description>
   <pubDate>Tue, 31 Aug 2010 04:25:41 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17175&amp;PID=59963&amp;title=cxtpdockcontext-not-accessible#59963</guid>
  </item> 
 </channel>
</rss>