<?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 : Drawing not updated after adding Docking Pane</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : Drawing not updated after adding Docking Pane]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 09 Jun 2026 21:05:10 +0000</pubDate>
  <lastBuildDate>Mon, 12 Jan 2009 08:26:24 +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=13144</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[Drawing not updated after adding Docking Pane : Hi, thanks for the replies,I follow...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13144&amp;PID=44470&amp;title=drawing-not-updated-after-adding-docking-pane#44470</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4868">firdausabhar</a><br /><strong>Subject:</strong> 13144<br /><strong>Posted:</strong> 12 January 2009 at 8:26am<br /><br />Hi, thanks for the replies,<br><br>I follow instructions in Codejock's Tutorial (Toolkit Pro User Guide) on adding docking pane to my application. First, I create the bars in OnCreate function: <br><font size="1" color="#000066"><br>// Create docking panes.CXTPDockingPane* pwndPane1 = m_paneManager.CreatePane(    IDR_PANE_OPTIONS, CRect(0, 0,200, 120), dockLeftOf);CXTPDockingPane* pwndPane2 = m_paneManager.CreatePane(    IDR_PANE_PROPERTIES, CRect(0, 0,200, 120), dockBottomOf, pwndPane1)</font><br><br>Then I added icons for the panes:<br><font size="1" color="#000066"><br>int nIDIcons&#091;&#093; = {IDR_PANE_OPTIONS, IDR_PANE_PROPERTIES};    m_paneManager.SetIcons(IDB_BITMAP_ICONS, nIDIcons,    _countof(nIDIcons), RGB(0, 255, 0));</font><br><br>I disabled the code to attach CWnd derived class (OnDockingPaneNotify) since it doesn't have any difference after I enabling it before. Am I missing something?<br><br>I also changed my MainFrm derived class to <code>CXTPFrameWnd</code> since I would change my application interface later.<br><br>Thanks in advanced.<br><br>Cheers,<br>F.Abhar.<br>]]>
   </description>
   <pubDate>Mon, 12 Jan 2009 08:26:24 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13144&amp;PID=44470&amp;title=drawing-not-updated-after-adding-docking-pane#44470</guid>
  </item> 
  <item>
   <title><![CDATA[Drawing not updated after adding Docking Pane : sounds like you haven&amp;#039;t set...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13144&amp;PID=44458&amp;title=drawing-not-updated-after-adding-docking-pane#44458</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2967">adrien</a><br /><strong>Subject:</strong> 13144<br /><strong>Posted:</strong> 12 January 2009 at 2:15am<br /><br />sounds like you haven't set the style WS_CLIPSIBLINGS on the main client area.]]>
   </description>
   <pubDate>Mon, 12 Jan 2009 02:15:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13144&amp;PID=44458&amp;title=drawing-not-updated-after-adding-docking-pane#44458</guid>
  </item> 
  <item>
   <title><![CDATA[Drawing not updated after adding Docking Pane : Hi, Attach sample to show what...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13144&amp;PID=44457&amp;title=drawing-not-updated-after-adding-docking-pane#44457</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 13144<br /><strong>Posted:</strong> 12 January 2009 at 1:17am<br /><br />Hi,<DIV>Attach sample to show what you do. </DIV>]]>
   </description>
   <pubDate>Mon, 12 Jan 2009 01:17:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13144&amp;PID=44457&amp;title=drawing-not-updated-after-adding-docking-pane#44457</guid>
  </item> 
  <item>
   <title><![CDATA[Drawing not updated after adding Docking Pane : Hi,I have a problem using Docking...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13144&amp;PID=44452&amp;title=drawing-not-updated-after-adding-docking-pane#44452</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4868">firdausabhar</a><br /><strong>Subject:</strong> 13144<br /><strong>Posted:</strong> 11 January 2009 at 10:24pm<br /><br />Hi,<br><br>I have a problem using Docking Pane. I'm developing a simple MFC application to draw objects in OnDraw function. However, after adding the docking pane, I cannot see my drawing (Pic 1). Instead, if i 'auto-hide' my pane, then i can see what have been drawn (Pic 2). Strangely, I can also update my drawing if i minimise and then maximise back my application.<br><br>Furthuremore, the place where the dock was before turns black if both of the pane autohide. (Pic 3). <br><br>In OnDraw(CDC* ipDC), i use BitBlt and set the OnEraseBkgnd(CDC* pDC) to return TRUE.<br><br>Thanks in advance,<br><br>Cheers,<br>F.Abhar<br><br><b>Pic 1:</b><br><br>.<img src="uploads/20090111_221700_pic1.jpg" height="249" width="237" border="0"><br><br><br><b>Pic 2:</b><br><br><img src="uploads/20090111_222013_pic2.jpg" height="275" width="246" border="0"><br><br><b>Pic 3:</b><br><br><img src="uploads/20090111_222158_pic3.jpg" height="268" width="227" border="0"><br><br><br><br>]]>
   </description>
   <pubDate>Sun, 11 Jan 2009 22:24:14 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13144&amp;PID=44452&amp;title=drawing-not-updated-after-adding-docking-pane#44452</guid>
  </item> 
 </channel>
</rss>