<?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 : CXTPC&#111;ntrolButt&#111;n /CXTPPopupBar  display</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : CXTPC&#111;ntrolButt&#111;n /CXTPPopupBar  display]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 06 Apr 2026 21:38:13 +0000</pubDate>
  <lastBuildDate>Thu, 22 Dec 2005 11:24:10 +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=3414</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[CXTPC&#111;ntrolButt&#111;n /CXTPPopupBar  display : Its always so obvious once I see...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3414&amp;PID=10309&amp;title=cxtpcontrolbutton-cxtppopupbar-display#10309</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1391">craig</a><br /><strong>Subject:</strong> 3414<br /><strong>Posted:</strong> 22 December 2005 at 11:24am<br /><br /><img src="http://forum.codejock.com/smileys/smiley5.gif" border="0"><br><br>Its always so obvious once I see the mistake I made.&nbsp; Copyitis rears its ugly head.<br><br>Thanks Oleg.<br>]]>
   </description>
   <pubDate>Thu, 22 Dec 2005 11:24:10 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3414&amp;PID=10309&amp;title=cxtpcontrolbutton-cxtppopupbar-display#10309</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPC&#111;ntrolButt&#111;n /CXTPPopupBar  display : Hi, May be you need CXTPPopu...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3414&amp;PID=10231&amp;title=cxtpcontrolbutton-cxtppopupbar-display#10231</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 3414<br /><strong>Posted:</strong> 16 December 2005 at 4:12am<br /><br /><P>Hi,</P><P>May be you need</P><P><FONT face="Courier New" size=2>CXTPPopupBar::CreateObject();</FONT></P><P><FONT face="Courier New" size=2>instead</FONT></P><P><FONT face="Courier New" size=2>CXTPPopupToolBar::CreateObject();</FONT></P><P><FONT face="Courier New" size=2></FONT>&nbsp;</P><P><FONT face="Courier New" size=2>to make it looks like popup bar and not like popup toolbar?</FONT></P>]]>
   </description>
   <pubDate>Fri, 16 Dec 2005 04:12:18 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3414&amp;PID=10231&amp;title=cxtpcontrolbutton-cxtppopupbar-display#10231</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPC&#111;ntrolButt&#111;n /CXTPPopupBar  display : I am displaying CXTPControlButton&amp;#039;s...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3414&amp;PID=10217&amp;title=cxtpcontrolbutton-cxtppopupbar-display#10217</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1391">craig</a><br /><strong>Subject:</strong> 3414<br /><strong>Posted:</strong> 15 December 2005 at 2:18pm<br /><br />I am displaying CXTPControlButton's on my CXTPPopupBar.&nbsp; I've done this numerous times with success, but for some reason this particular menu is getting buggy on me.&nbsp; The only difference with this popup is that it only has Popup buttons and no other controls.&nbsp; Here is my onCreateControl method and a snapshot of the problem:<br><br><img src="uploads/craig/2005-12-15_141659_snap.bmp" border="0"><br><br><font size="3"><span style="font-family: Courier New,Courier,mono;"><br><font size="2"><span style="font-family: Courier New,Courier,mono;">int CGeoDbWnd::OnCreateControl(LPCREATECONTROLSTRUCT lpCreateControl)<br>{<br><br>&nbsp;&nbsp;&nbsp; if (lpCreateControl-&gt;bToolBar)<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; // Maintenance popup<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if (lpCreateControl-&gt;nID == ID_GEODB_MAINTENANCE)<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; // Popup button to go on the menu<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CXTPControlPopup* pPopup =  CXTPControlPopup::CreateControlPopup(xtpControlSplitButtonPo pup);<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; // Bar to contain the controls<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CXTPPopupBar* pMaintenanceBar = (CXTPPopupBar*)CXTPPopupToolBar::CreateObject();<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; // Vacuum Control<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CXTPControlButton* pVacuumBtn = new CXTPControlButton();<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pMaintenanceBar-&gt;GetControls()-&gt;Add(pVacuumBtn, ID_GEODB_VACUUM);<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; // Vacuum Analyze Control<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CXTPControlButton* pVacuumAnalyzeBtn = new CXTPControlButton();<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pMaintenanceBar-&gt;GetControls()-&gt;Add(pVacuumAnalyzeBtn, ID_GEODB_VACUUM_ANALYZE);<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; // Vacuum Full Control<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CXTPControlButton* pVacuumFullBtn = new CXTPControlButton();<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pMaintenanceBar-&gt;GetControls()-&gt;Add(pVacuumFullBtn, ID_GEODB_VACUUM_FULL);<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; // Spatial Index Control<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CXTPControlButton* pSpatialIndexBtn = new CXTPControlButton();<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pMaintenanceBar-&gt;GetControls()-&gt;Add(pSpatialIndexBtn, ID_GEODB_SPATIAL_INDEX);<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; // Hook the Maintenance Toolbar up to the Popup Button.<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pPopup-&gt;SetCommandBar(pMaintenanceBar);<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pMaintenanceBar-&gt;EnableCustomization(FALSE);&nbsp; // Don't allow this toolbar to be managed by the user.<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pMaintenanceBar-&gt;InternalRelease();<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; lpCreateControl-&gt;pControl = pPopup;<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; //XTPImageManager()-&gt;SetIcon(ID_PT_FGCOLOR, ID_PT_FGCOLOR);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return TRUE;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; }<br><br>&nbsp;&nbsp;&nbsp; return FALSE;<br>}</span></font><br></span></font>]]>
   </description>
   <pubDate>Thu, 15 Dec 2005 14:18:24 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3414&amp;PID=10217&amp;title=cxtpcontrolbutton-cxtppopupbar-display#10217</guid>
  </item> 
 </channel>
</rss>