<?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 : Combine Shortcutbar and taskpanel?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Combine Shortcutbar and taskpanel?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 21 Apr 2026 23:30:46 +0000</pubDate>
  <lastBuildDate>Fri, 30 Sep 2005 08:07:55 +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=2940</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[Combine Shortcutbar and taskpanel? : Hello, first of all thanks a...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2940&amp;PID=8886&amp;title=combine-shortcutbar-and-taskpanel#8886</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1139">Martin</a><br /><strong>Subject:</strong> 2940<br /><strong>Posted:</strong> 30 September 2005 at 8:07am<br /><br /><P>Hello,</P><P>first of all thanks a lot for your quite complete solution! </P><P>I unfortunately don't have time to look at it today but I will try it next week and will let you know if I succeeded or not (I probably will, since it's almost copy paste <IMG src="http://forum.codejock.com/smileys/smiley2.gif" border="0">&nbsp;)</P><P>Take care,<BR>Martin</P>]]>
   </description>
   <pubDate>Fri, 30 Sep 2005 08:07:55 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2940&amp;PID=8886&amp;title=combine-shortcutbar-and-taskpanel#8886</guid>
  </item> 
  <item>
   <title><![CDATA[Combine Shortcutbar and taskpanel? : Well, let&amp;#039;s give it a shot....  The...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2940&amp;PID=8856&amp;title=combine-shortcutbar-and-taskpanel#8856</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=529">nchernick</a><br /><strong>Subject:</strong> 2940<br /><strong>Posted:</strong> 29 September 2005 at 10:17am<br /><br />Well, let's give it a shot....<br><br>The way I have done this is to create a class for each pane of yourshortcutbar and base it off of CXTPShortcutBarPane (class CMyPane:&nbsp; public CXTPShortcutBarPane).<br><br>Make sure the class has a CXTPTaskPanel object defined (CXTPTaskPanel m_wndTaskPanel)<br><br>In the Create Function of this class is where I create my TaskPanel(s).<br><br> --&gt;&nbsp;m_wndTaskPanel.Create(WS_CHILD|WS_VISIBLE|WS _CLIPSIBLINGS|WS_CLIPCHILDREN,CXTPEmptyRect(),  this, ID_SHORTCUT_SHORTPANE); <br>&lt;--<br><br>where the last parameter is the ID of the Shortcutbar window you want the task panel created in.<br><br>So in the MainFrame when you create the ShortCutBar window you do something like this:<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;m_wndShortcutBar.Create(WS_CHILD|WS_VISIBLE|WS_CLI PCHILDREN|WS_CLIPSIBLINGS,CRect(0,  0, 0, 0), this,&nbsp; ID_SHORTCUTBAR);<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp; <br>VERIFY(m_paneMyPane.Create(_T("MyPane"&nbsp;&nbsp; ), &amp;m_wndShortcutBar));<br><br>CXTPShortcutBarItem* pItem =  m_wndShortcutBar.AddItem(ID_SHORTCUT_SHORTPANE,&nbsp;&nbsp;& nbsp; &amp;m_paneMyPane);<br><br>where:<br>m_wndShortcutBar is a CXTPShortcutBar<br>and<br>m_paneMyPane is a CMyPane<br><br>One more thing that tripped me up a little was when/where theshortcutbar is created. If you follow some of CodeJock's Samples wherethey create these things you should be OK.<br><br>Hope this helps!<br><br><br>]]>
   </description>
   <pubDate>Thu, 29 Sep 2005 10:17:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2940&amp;PID=8856&amp;title=combine-shortcutbar-and-taskpanel#8856</guid>
  </item> 
  <item>
   <title><![CDATA[Combine Shortcutbar and taskpanel? : Actually I am not sure how to...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2940&amp;PID=8855&amp;title=combine-shortcutbar-and-taskpanel#8855</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1139">Martin</a><br /><strong>Subject:</strong> 2940<br /><strong>Posted:</strong> 29 September 2005 at 9:51am<br /><br /><P><FONT face="Verdana, Arial, Helvetica, sans-serif" size=1>Actually I am not sure how to create it, this is what I've tried so far:</FONT></P><P><FONT face="Verdana, Arial, Helvetica, sans-serif" size=1>I first create the taskpanel, as such:</FONT></P><P><FONT size=1><FONT face="Verdana, Arial, Helvetica, sans-serif"><FONT color=#000000>if (!m_wndTaskPanel.Create(WS_CHILD|WS_VISIBLE|WS_CLIPSIBLINGS| WS_CLIPCHILDREN, CRect(0, 0, 0, 0), this, 0)) </FONT><FONT color=#000000>return FALSE;</FONT></FONT></FONT></P><FONT color=#008000><P><FONT face="Verdana, Arial, Helvetica, sans-serif" color=#000000 size=1>I&nbsp;then create the shortcutbar and attach the taskpanel as follows:</FONT></P><P><FONT size=1><FONT face="Verdana, Arial, Helvetica, sans-serif"><FONT color=#000000>m_wndShortcutBar.AddItem(ID_TASKITEM, &amp;m_wndTaskPanel</FONT><FONT color=#000000>);</FONT></FONT></FONT></P><P><FONT face="Verdana, Arial, Helvetica, sans-serif" color=#000000 size=1>But I lost all my changes (I revert them back to the old situation) so I am not sure what combinations I already tried.</FONT></P><P><FONT face="Verdana, Arial, Helvetica, sans-serif" color=#000000 size=1>I am almost certain that the creation of the taskpanel isn't correct or that I forget to call an additional member function to set it up correctly.</FONT></P><P><FONT face="Verdana, Arial, Helvetica, sans-serif" color=#000000 size=1>Maybe you can give me some pointers on how to do it?</FONT></P><P><FONT face="Verdana, Arial, Helvetica, sans-serif" color=#000000 size=1>TIA,<BR>Martin</FONT></P></FONT><span style="font-size:10px"><br /><br />Edited by Martin</span>]]>
   </description>
   <pubDate>Thu, 29 Sep 2005 09:51:46 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2940&amp;PID=8855&amp;title=combine-shortcutbar-and-taskpanel#8855</guid>
  </item> 
  <item>
   <title><![CDATA[Combine Shortcutbar and taskpanel? : Yes this is possible. I am doing...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2940&amp;PID=8816&amp;title=combine-shortcutbar-and-taskpanel#8816</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=529">nchernick</a><br /><strong>Subject:</strong> 2940<br /><strong>Posted:</strong> 28 September 2005 at 11:57am<br /><br />Yes this is possible. I am doing it in an application I have. How are you creating the taskpanel?]]>
   </description>
   <pubDate>Wed, 28 Sep 2005 11:57:58 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2940&amp;PID=8816&amp;title=combine-shortcutbar-and-taskpanel#8816</guid>
  </item> 
  <item>
   <title><![CDATA[Combine Shortcutbar and taskpanel? : Hello, can anyone tell me if...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2940&amp;PID=8756&amp;title=combine-shortcutbar-and-taskpanel#8756</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1139">Martin</a><br /><strong>Subject:</strong> 2940<br /><strong>Posted:</strong> 26 September 2005 at 8:40am<br /><br /><P>Hello,</P><P>can anyone tell me if it's possible to combine the shortcutbar with the taskpanel?</P><P>If I select an item from the shortcutbar, I want a taskpanel to appear in the upper section of the shortcutbar (I want to show tasks depending on the selection).</P><P>I tried to get it to work, but either the taskpanel "overwrites" the shortcutbar or the taskpanel doesn't show at all.</P><P>Any help is appreciated.</P><P>Regards,<BR>Martin</P>]]>
   </description>
   <pubDate>Mon, 26 Sep 2005 08:40:48 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2940&amp;PID=8756&amp;title=combine-shortcutbar-and-taskpanel#8756</guid>
  </item> 
 </channel>
</rss>