<?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 : How Can Attach CFormView?&amp;How I Catch Mouse Event?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : How Can Attach CFormView?&amp;How I Catch Mouse Event?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 12:12:22 +0000</pubDate>
  <lastBuildDate>Tue, 09 Jan 2007 08:51:31 +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=6046</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[How Can Attach CFormView?&amp;How I Catch Mouse Event? : I make Custom View Class which...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6046&amp;PID=19051&amp;title=how-can-attach-cformviewhow-i-catch-mouse-event#19051</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2662">solitardj9</a><br /><strong>Subject:</strong> 6046<br /><strong>Posted:</strong> 09 January 2007 at 8:51am<br /><br />I make Custom View Class which is inherited from CFormView Class by using Resource Edit in MFC<DIV>&nbsp;</DIV><DIV>1) I Added Panel to Panel Manager</DIV><DIV>&nbsp;</DIV><DIV>CXTPDockingPane* pwndPane3 = m_paneManager.CreatePane(&nbsp;IDD_TREELIST, CRect(0, 0,200, 120), xtpPaneDockRight );</DIV><DIV>&nbsp;</DIV><DIV>2) I Attached Custom View Class to Pane</DIV><DIV>&nbsp;</DIV><DIV>LRESULT CMainFrame::OnDockingPaneNotify(WPARAM wParam, LPARAM lParam)<BR>{</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;......<BR>&nbsp;&nbsp;&nbsp;&nbsp;case IDD_TREELIST :<BR>&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pPane-&gt;AttachView( this, RUNTIME_CLASS(CTreeListView) );<BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;break;<BR>&nbsp;&nbsp;&nbsp;&nbsp;}</DIV><DIV>&nbsp;&nbsp;&nbsp; ......</DIV><DIV>}</DIV><DIV>&nbsp;</DIV><DIV>And It looks working....but, when I Close my application in debug mode</DIV><DIV>Many&nbsp;Memory Access Violatoin occured......</DIV><DIV>&nbsp;</DIV><DIV>And the other problem is that How can I Catch Mouse Event??</DIV><DIV>I want to show and Hide Docking Panel by clicking Mouse....</DIV><DIV>&nbsp;</DIV><DIV>I tried to Use OnDockingPaneNotify Macro...but I couldn't...</DIV><DIV>So Please let me know How can I do...waht can i do ....</DIV>]]>
   </description>
   <pubDate>Tue, 09 Jan 2007 08:51:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6046&amp;PID=19051&amp;title=how-can-attach-cformviewhow-i-catch-mouse-event#19051</guid>
  </item> 
 </channel>
</rss>