<?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 : CHeroesView in shortcutbar pane</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Shortcut Bar : CHeroesView in shortcutbar pane]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 30 Apr 2026 04:00:56 +0000</pubDate>
  <lastBuildDate>Mon, 21 Jan 2008 06:56:46 +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=9349</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[CHeroesView in shortcutbar pane : Aha! simple really.Sorted. I now...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9349&amp;PID=30343&amp;title=cheroesview-in-shortcutbar-pane#30343</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3649">alistair.m</a><br /><strong>Subject:</strong> 9349<br /><strong>Posted:</strong> 21 January 2008 at 6:56am<br /><br />Aha! simple really.<br>Sorted. I now have a shortcut pane with an embedded toolbar and a icon list view just like the heroes view example. Now I just need to tie up the menu events...<br><br>//.h<br>&nbsp;&nbsp;&nbsp; CWnd* m_pProfileView;<br>&nbsp;&nbsp;&nbsp; ...<br><br>//.cpp<br>BOOL CShortcutPaneMyProfile::Create(LPCTSTR lpszCaption, CXTPShortcutBar* pParent)<br>{<br>&nbsp;&nbsp;&nbsp; if (m_pProfileView == 0)<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_pProfileView = new&nbsp; CShortcutProfilePaneView();<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_pProfileView-&gt;Create(_T("STATIC"), NULL, WS_CHILD, CRect(0, 0, 0, 0), this, 0);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ((CShortcutProfilePaneView*)m_pProfileView)-&gt;OnInitialUpdate();<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; AddItem("Profile", m_pProfileView, 200);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_pProfileView-&gt;ShowWindow(SW_SHOW);<br>&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; return TRUE;<br>}<br><br>]]>
   </description>
   <pubDate>Mon, 21 Jan 2008 06:56:46 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9349&amp;PID=30343&amp;title=cheroesview-in-shortcutbar-pane#30343</guid>
  </item> 
  <item>
   <title><![CDATA[CHeroesView in shortcutbar pane : I&amp;#039;m trying to add to one...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9349&amp;PID=30275&amp;title=cheroesview-in-shortcutbar-pane#30275</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3649">alistair.m</a><br /><strong>Subject:</strong> 9349<br /><strong>Posted:</strong> 18 January 2008 at 12:40pm<br /><br />I'm trying to add to one of my shortcutbar panes, a view like the CHeroesView class in the samples\toolkitpro\advanced project that has a toolbar and a listview. That example attaches it to a docking pane, but I can't find the way to add it to the CXTPShortcutBarPane derived class in my shortcutbar. I can get to the point of creating the view (in the CXTPShortcutBarPane::Create), but there doesnt seem to be an Attach method like the one used in the example. If I don't attach, it just shows an empty pane.<br><br>How can this be done?<br>Thanks<br>Al<br><br><br>]]>
   </description>
   <pubDate>Fri, 18 Jan 2008 12:40:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9349&amp;PID=30275&amp;title=cheroesview-in-shortcutbar-pane#30275</guid>
  </item> 
 </channel>
</rss>