<?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 : Implement IE similar History</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Implement IE similar History]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 06:40:43 +0000</pubDate>
  <lastBuildDate>Fri, 25 Jun 2004 08:44:27 +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=892</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[Implement IE similar History : sorry!! Foudn the error, i filtered...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=892&amp;PID=2349&amp;title=implement-ie-similar-history#2349</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=244">Wolfgang</a><br /><strong>Subject:</strong> 892<br /><strong>Posted:</strong> 25 June 2004 at 8:44am<br /><br /><P>sorry!!</P><P>Foudn the error, i filtered it out with&nbsp; the toolbar check!!</P><P>&nbsp;</P><P>nevertheless thanks!</P>]]>
   </description>
   <pubDate>Fri, 25 Jun 2004 08:44:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=892&amp;PID=2349&amp;title=implement-ie-similar-history#2349</guid>
  </item> 
  <item>
   <title><![CDATA[Implement IE similar History : HI! I need to implement a IE...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=892&amp;PID=2348&amp;title=implement-ie-similar-history#2348</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=244">Wolfgang</a><br /><strong>Subject:</strong> 892<br /><strong>Posted:</strong> 25 June 2004 at 8:38am<br /><br /><P>HI!</P><P>I need to implement a IE similar History attched to a toolbar-button</P><P>therefore i set <FONT size=2></P><P>lpCreateControl-&gt;controlType=xtpControlSplitButtonPopup;</P><P>in OnCreateControl.</P><P>I created a Menu with the given ID. The Button is now attached to Drop down Menu, but I can't set the items in this list.</P><P>I thought that&nbsp;I overwrite&nbsp;a <FONT size=2>CXTPControlButton and can set the Items in <FONT size=2>OnCalcDynamicSize. But my Problem is that I don't get into</FONT></FONT></P><FONT size=2><FONT size=2><FONT color=#0000ff size=2><P>if</FONT><FONT size=2> (lpCreateControl-&gt;nID==ID_HISTORY_POPUP) {</P><P>lpCreateControl-&gt;pControl = </FONT><FONT color=#0000ff size=2>new</FONT><FONT size=2> CXTPHistoryButton();</P><P>}</P><P>in OnCreateControl.</P><P>Now I am a little lost. what must I do and check that i get the needed call?</P><P>&nbsp;</P><P>Here the Functions in more detail:</P><FONT color=#0000ff size=2><P>int</FONT><FONT size=2> CMainFrame::OnCreateControl(LPCREATECONTROLSTRUCT lpCreateControl) {</P><P></FONT><FONT color=#0000ff size=2>bool</FONT><FONT size=2> retVal=</FONT><FONT color=#0000ff size=2>false</FONT><FONT size=2>;</P><P></FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2> (lpCreateControl-&gt;bToolBar) {</P><P>CXTPToolBar* pToolBar=DYNAMIC_DOWNCAST(CXTPToolBar, lpCreateControl-&gt;pCommandBar);</P><P></FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2> (pToolBar) {</P><P></FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2> (lpCreateControl-&gt;nID==ID_NAV_BACK) {</P><P>lpCreateControl-&gt;controlType=xtpControlSplitButtonPopup;</P><P></FONT><FONT color=#008000 size=2>//lpCreateControl-&gt;pControl = new CXTPHistoryButton();</P></FONT><FONT size=2><P>retVal=TRUE;</P><P>} </FONT><FONT color=#0000ff size=2>else</FONT><FONT size=2> </FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2> (lpCreateControl-&gt;nID==ID_HISTORY_POPUP) {</P><P>lpCreateControl-&gt;pControl = </FONT><FONT color=#0000ff size=2>new</FONT><FONT size=2> CXTPHistoryButton();</FONT></P><P><FONT size=2>ID_NAV_BACK MENU <BR>BEGIN<BR>&nbsp;&nbsp;&nbsp; POPUP "History"<BR>&nbsp;&nbsp;&nbsp; BEGIN<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MENUITEM  "History",&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  ID_HISTORY_POPUP</FONT></P><P><FONT size=2></FONT>&nbsp;</P><P><FONT size=2>THanks in advance!</FONT></P><P><FONT size=2>Wolfgang</P><P><BR></P></FONT></FONT></FONT></FONT></FONT>]]>
   </description>
   <pubDate>Fri, 25 Jun 2004 08:38:12 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=892&amp;PID=2348&amp;title=implement-ie-similar-history#2348</guid>
  </item> 
 </channel>
</rss>