<?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 : CodeJock Configuration problem.</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : CodeJock Configuration problem.]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 10 Jun 2026 05:59:43 +0000</pubDate>
  <lastBuildDate>Fri, 01 Sep 2006 11:55:15 +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=4928</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[CodeJock Configuration problem. : Supported. But If you use MFC...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4928&amp;PID=15421&amp;title=codejock-configuration-problem#15421</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 4928<br /><strong>Posted:</strong> 01 September 2006 at 11:55am<br /><br /><DIV>Supported.</DIV><DIV>But If you use MFC as static library, codejock linked as static too and you have manually to add resources to rc2 file.</DIV><DIV>&nbsp;</DIV><DIV>in your res\&#091;app&#093;.rc2&nbsp; add</DIV><DIV>&nbsp;</DIV><DIV>#include &lt;XTToolkitPro.rc&gt;<BR></DIV><DIV>&nbsp;</DIV><DIV>and all will work.</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 01 Sep 2006 11:55:15 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4928&amp;PID=15421&amp;title=codejock-configuration-problem#15421</guid>
  </item> 
  <item>
   <title><![CDATA[CodeJock Configuration problem. : Adding the constants in my &amp;#034;Resource.h&amp;#034;...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4928&amp;PID=15396&amp;title=codejock-configuration-problem#15396</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2281">Sstar9</a><br /><strong>Subject:</strong> 4928<br /><strong>Posted:</strong> 01 September 2006 at 12:43am<br /><br /><P>Adding the constants in my "Resource.h" does not work. But anyway, I found out the reason for this.&nbsp; The reason is I set <FONT color=#003399>"Using MFC as Static Library". </FONT>This could be reproduced with codejock's own sample applications. If I am not wrong, it seems applications which Use MFC as Static Library&nbsp;are not well-supported with CodeJock Library. &nbsp;</P>]]>
   </description>
   <pubDate>Fri, 01 Sep 2006 00:43:05 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4928&amp;PID=15396&amp;title=codejock-configuration-problem#15396</guid>
  </item> 
  <item>
   <title><![CDATA[CodeJock Configuration problem. : Hi, Check, maybe in your resource.h...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4928&amp;PID=15359&amp;title=codejock-configuration-problem#15359</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 4928<br /><strong>Posted:</strong> 31 August 2006 at 8:41am<br /><br /><DIV>Hi,</DIV><DIV>Check, maybe in your resource.h you added this constants?</DIV>]]>
   </description>
   <pubDate>Thu, 31 Aug 2006 08:41:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4928&amp;PID=15359&amp;title=codejock-configuration-problem#15359</guid>
  </item> 
  <item>
   <title><![CDATA[CodeJock Configuration problem. : I just purchased CodeJock   Xtreme...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4928&amp;PID=15347&amp;title=codejock-configuration-problem#15347</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2281">Sstar9</a><br /><strong>Subject:</strong> 4928<br /><strong>Posted:</strong> 30 August 2006 at 10:18pm<br /><br /><DIV>I just purchased CodeJock </DIV><DIV>&nbsp;</DIV><DIV>Xtreme CommandBarPro 10.30.&nbsp; </DIV><DIV>Xtreme Controls 10.30</DIV><DIV>&nbsp;</DIV><DIV>I want to use them in my program. I added a </DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CXTPControlPopupColor&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>button to my toolbar&nbsp;that has a child PopUp Color&nbsp;selector.&nbsp;&nbsp;Hence in my OnCreateControl(*)</DIV><DIV>&nbsp;</DIV><DIV>I put the codes below&nbsp;which are similar to the TearOff&nbsp;Popup bar example.&nbsp;&nbsp;I have no problem&nbsp;to build and run the program. But I found, when&nbsp;the TearOff Color Popup bar shows, The captions "Automatic" and "More Color" do not show.&nbsp; I select&nbsp;either the constant <FONT color=#330099>XTP_IDS_AUTOMATIC</FONT>&nbsp;or <FONT color=#330099>XTP_IDS_MORE_COLORS </FONT><FONT>in my&nbsp;MFC 6.0 program, right click to see the definition of the constant.&nbsp; It leads me to my program's "Resource.h" page where the two constants are not defined there.&nbsp; But if I want to see the definition of <FONT color=#330099>XTP_IDS_AUTOMATIC</FONT>&nbsp;or <FONT color=#330099>XTP_IDS_MORE_COLORS</FONT><FONT color=#000000> in the TearOff toolbar example,</FONT><FONT color=#000000> it leads me to&nbsp; "....\CommandBars\Resource.h" and the two constants are defined there.</FONT></FONT></DIV><DIV><FONT></FONT>&nbsp;</DIV><DIV><FONT>So quite obviously "....\CommandBars\Resource.h"&nbsp;has&nbsp;not been&nbsp;included in my program<FONT color=#330099>. </FONT></FONT><FONT color=#330099><FONT color=#000000>This&nbsp;should be&nbsp;program configuration problem.&nbsp; I have included both headers in my "stdafx.h"</FONT></DIV><DIV><DIV><FONT color=#000000>&nbsp;</FONT></DIV><DIV><FONT color=#000000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #include &lt;XTCommandBarsPro.h&gt;&nbsp;</FONT></DIV><DIV><FONT color=#000000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #include &lt;XTControls.h&gt;&nbsp;&nbsp;</FONT></DIV></FONT></DIV><DIV>&nbsp;</DIV><DIV>What else I should do? Any suggestions?&nbsp; I am using MFC as a static library. <BR></DIV><DIV>&nbsp;</DIV><DIV><FONT color=#330099>......</FONT></DIV><DIV><FONT color=#330099>&nbsp;</FONT></DIV><DIV><FONT color=#330099>&nbsp;&nbsp;if (lpCreateControl-&gt;nID == ID_INKCOLOR &amp;&amp; pToolBar-&gt;GetBarID() == IDR_TOOLBAR_JW)<BR>&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;CXTPControlPopupColor* pPopupColor = new CXTPControlPopupColor();</FONT></DIV><DIV><FONT color=#330099>&nbsp;&nbsp;&nbsp;pColorBar = CXTPPopupToolBar::CreatePopupToolBar(GetCommandBars());<BR>&nbsp;&nbsp;&nbsp;pPopupColor-&gt;SetCommandBar(pColorBar);</FONT></DIV><DIV><FONT color=#330099>&nbsp;&nbsp;&nbsp;CXTPControl * pXTPCtrl =<BR>&nbsp;&nbsp;&nbsp;&nbsp;pColorBar-&gt;GetControls()-&gt;Add(new CXTPControlButtonColor(), XTP_IDS_AUTOMATIC);<BR>&nbsp;&nbsp;&nbsp;pColorBar-&gt;GetControls()-&gt;Add(new CXTPControlColorSelector(), ID_SELECTOR_TEXT);</FONT></DIV><DIV><FONT color=#330099>&nbsp;&nbsp;&nbsp;pXTPCtrl = <BR>&nbsp;&nbsp;&nbsp;&nbsp;pColorBar-&gt;GetControls()-&gt;Add(new CXTPControlButtonColor(), XTP_IDS_MORE_COLORS);<BR>&nbsp;&nbsp;&nbsp;pColorBar-&gt;SetTearOffPopup(_T("Ink Color"), 1005, 0);<BR>&nbsp;&nbsp;&nbsp;pColorBar-&gt;EnableCustomization(FALSE);</FONT></DIV><DIV><FONT color=#330099>&nbsp;&nbsp;&nbsp;pColorBar-&gt;InternalRelease();<BR>&nbsp;&nbsp;&nbsp;lpCreateControl-&gt;pControl = pPopupColor;<BR>&nbsp;&nbsp;&nbsp;return TRUE;<BR>&nbsp;&nbsp;}</FONT></DIV><DIV><FONT color=#330099>......</FONT></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 30 Aug 2006 22:18:16 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4928&amp;PID=15347&amp;title=codejock-configuration-problem#15347</guid>
  </item> 
 </channel>
</rss>