<?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 : No command bar when calling Add</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Controls : No command bar when calling Add]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 03:37:43 +0000</pubDate>
  <lastBuildDate>Tue, 13 Oct 2009 09:18:44 +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=15353</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[No command bar when calling Add : I have subclassed the CXTPControlPopup...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15353&amp;PID=53812&amp;title=no-command-bar-when-calling-add#53812</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3213">rdhd</a><br /><strong>Subject:</strong> 15353<br /><strong>Posted:</strong> 13 October 2009 at 9:18am<br /><br />I have subclassed the CXTPControlPopup so I can persist some extra data when the QAT saves such a control. After allocating my popup, I call CXTPGroup::Add( pPopup, ...) - the overload where one passes the control&nbsp;in instead of the control type.<DIV>&nbsp;</DIV><DIV>But I found that unlike calling Add( xtpControlPopup, ...), the CJ code does not allocate and set the command bar pointer for the popup.</DIV><DIV>&nbsp;</DIV><DIV>Why not?</DIV><DIV>&nbsp;</DIV><DIV>I am having to copy code from the CJ source to do this myself. Dangerous since if CJ ever changes, I have to react. Seems like a simple call to get the runtime class and populate the instance data when calling Add( pControl, ...).</DIV><DIV>&nbsp;</DIV><DIV>Please add such code to a future release. In the meantime I'll add a check for the bar and only allocate if it is NULL.</DIV>]]>
   </description>
   <pubDate>Tue, 13 Oct 2009 09:18:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15353&amp;PID=53812&amp;title=no-command-bar-when-calling-add#53812</guid>
  </item> 
 </channel>
</rss>