<?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 : bitmaps in docking panes</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : bitmaps in docking panes]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 10:58:29 +0000</pubDate>
  <lastBuildDate>Thu, 28 Dec 2006 02:47:13 +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=5807</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[bitmaps in docking panes : Thanks a lot for the answer mgampi, I&amp;#039;ll...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5807&amp;PID=18669&amp;title=bitmaps-in-docking-panes#18669</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2597">silentwisdom</a><br /><strong>Subject:</strong> 5807<br /><strong>Posted:</strong> 28 December 2006 at 2:47am<br /><br />Thanks a lot for the answer mgampi,<DIV>I'll take a look&nbsp;at the&nbsp;code one of the next days,</DIV><DIV>currently iI'm occupied on another project.</DIV>]]>
   </description>
   <pubDate>Thu, 28 Dec 2006 02:47:13 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5807&amp;PID=18669&amp;title=bitmaps-in-docking-panes#18669</guid>
  </item> 
  <item>
   <title><![CDATA[bitmaps in docking panes : Hi, Ichecked your sample files...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5807&amp;PID=18652&amp;title=bitmaps-in-docking-panes#18652</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 5807<br /><strong>Posted:</strong> 27 December 2006 at 8:04am<br /><br /><P>Hi,</P><P>I&nbsp;checked your sample files and most obvious issue to mention is the part where you create the CScrollView derived object. First of all I have never created a toolbar inside a CScrollView object. I did not try this at the moment. Next you attach the panes content two times - first time in CChildWnd::OnCreate and the second time in the OnDockingPaneNotify handler. </P><P>Since you call your own CPreview2::CreatePane() function - which indeed creates a STATIC control (class name "STATIC") you actually do not create a CSrollView object!</P><P>I created a small sample application that shows you how to create C(Scroll)View derived objects as children of panes. I did&nbsp;neither implement scaling and/or zooming nor create a toolbar object. <a href="http://forum.codejock.com/uploads/20061227_080303_BitmapPane.zip" target="_blank">uploads/20061227_080303_BitmapPane.zip</A></P><DIV>In your case, I think you have to implement it a little bit more 'complicated': Create your own CWnd derived object that contains the toolbar and the additional CWnd object used to implement a 'canvas' for bitmaps with scrollbars (CWnd::EnableScrollBar()) and the management for scrollbars (OnVScroll, OnHScroll). Finally attach this compound object to the pane by calling its Attach() function. Perhaps someone else has done this before and could give you a hint on this. </DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 27 Dec 2006 08:04:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5807&amp;PID=18652&amp;title=bitmaps-in-docking-panes#18652</guid>
  </item> 
  <item>
   <title><![CDATA[bitmaps in docking panes :   mgampi wrote:What to you mean...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5807&amp;PID=18621&amp;title=bitmaps-in-docking-panes#18621</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2597">silentwisdom</a><br /><strong>Subject:</strong> 5807<br /><strong>Posted:</strong> 26 December 2006 at 3:16am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by mgampi" alt="Originally posted by mgampi" style="vertical-align: text-bottom;" /> <strong>mgampi wrote:</strong><br /><br />What to you mean with 'not clickable'? <DIV>Are the scrollbars disabled? If they're disabled, have you set the scroll sizes by calling SetScrollSizes()? When in MM_TEXT mode you should set the max possible extensions in both x and y direction in pixels.</DIV><DIV>&nbsp;</DIV><DIV>Martin&nbsp;</DIV></td></tr></table> <DIV>Hi martin,</DIV><DIV>I mean that the scrollbars are visible and enabled but when&nbsp;I try to click them the program doesn't seem te react on it.</DIV><DIV>I've set the scrollsize like this:</DIV><DIV><FONT size=2>SetScrollSizes(MM_TEXT, CSize(m_curBmWidth,m_curBmHeight));</FONT></DIV><DIV><FONT size=2>here are the main cpp and header files of the project:<a href="https://forum.codejock.com/uploads/20061226_031535_code.zip" target="_blank">uploads/20061226_031535_code.zip</A></FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>I really don't get it why it won't work.</DIV></FONT>]]>
   </description>
   <pubDate>Tue, 26 Dec 2006 03:16:09 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5807&amp;PID=18621&amp;title=bitmaps-in-docking-panes#18621</guid>
  </item> 
  <item>
   <title><![CDATA[bitmaps in docking panes : What to you mean with &amp;#039;not...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5807&amp;PID=18579&amp;title=bitmaps-in-docking-panes#18579</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 5807<br /><strong>Posted:</strong> 23 December 2006 at 3:06pm<br /><br />What to you mean with 'not clickable'? <DIV>Are the scrollbars disabled? If they're disabled, have you set the scroll sizes by calling SetScrollSizes()? When in MM_TEXT mode you should set the max possible extensions in both x and y direction in pixels.</DIV><DIV>&nbsp;</DIV><DIV>Martin&nbsp;</DIV>]]>
   </description>
   <pubDate>Sat, 23 Dec 2006 15:06:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5807&amp;PID=18579&amp;title=bitmaps-in-docking-panes#18579</guid>
  </item> 
  <item>
   <title><![CDATA[bitmaps in docking panes : Hi everyone, I&amp;#039;ve tried...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5807&amp;PID=18392&amp;title=bitmaps-in-docking-panes#18392</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2597">silentwisdom</a><br /><strong>Subject:</strong> 5807<br /><strong>Posted:</strong> 20 December 2006 at 2:36am<br /><br /><P>Hi everyone,</P><P>I've tried to make the scrollview work inside the dockingpane but </P><P>i can't scroll, the pane draws all elements corectly but the scrollbars aren't clickable..</P><P>Someone any ideas ?</P>]]>
   </description>
   <pubDate>Wed, 20 Dec 2006 02:36:35 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5807&amp;PID=18392&amp;title=bitmaps-in-docking-panes#18392</guid>
  </item> 
  <item>
   <title><![CDATA[bitmaps in docking panes : Hi;  One solution could be using...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5807&amp;PID=18265&amp;title=bitmaps-in-docking-panes#18265</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 5807<br /><strong>Posted:</strong> 15 December 2006 at 9:04am<br /><br />Hi;<DIV>&nbsp;</DIV><DIV>One solution could be using a CSrollView derived class that draws the bitmap (CScrollView::OnDraw). </DIV><DIV>Use SetScrollSizes() to adjust the view according your bitmap size. </DIV><DIV>Then attach the view to the pane.</DIV><DIV>&nbsp;</DIV><DIV>Hope this helps...</DIV><DIV>&nbsp;</DIV><DIV>Martin</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 15 Dec 2006 09:04:32 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5807&amp;PID=18265&amp;title=bitmaps-in-docking-panes#18265</guid>
  </item> 
  <item>
   <title><![CDATA[bitmaps in docking panes : Hi all, I&amp;#039;d like to insert...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5807&amp;PID=18263&amp;title=bitmaps-in-docking-panes#18263</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2301">Rhayader</a><br /><strong>Subject:</strong> 5807<br /><strong>Posted:</strong> 15 December 2006 at 8:14am<br /><br />Hi all,<DIV>I'd like to insert a bitmap within a docking pane; i tried with a dialog that contains a picture control, but there is a problem: there aren't the scrollbars, so, when the docking window is smaller than the image it isn't possible to scroll the image...</DIV><DIV>&nbsp;</DIV><DIV>Is there another way? I tried to put a CStatic control directy within a docking pane but it didn't work...</DIV><DIV>&nbsp;</DIV><DIV>many thanks!</DIV>]]>
   </description>
   <pubDate>Fri, 15 Dec 2006 08:14:43 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5807&amp;PID=18263&amp;title=bitmaps-in-docking-panes#18263</guid>
  </item> 
 </channel>
</rss>