<?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 : Cannot capture XTPWM_PROPERTYGRID_NOTIFY</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Property Grid : Cannot capture XTPWM_PROPERTYGRID_NOTIFY]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 19 Apr 2026 05:57:54 +0000</pubDate>
  <lastBuildDate>Mon, 07 Jul 2014 15:28: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=22352</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[Cannot capture XTPWM_PROPERTYGRID_NOTIFY : Aha - the problem was in the OnDockingPaneNotify...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=22352&amp;PID=72613&amp;title=cannot-capture-xtpwm-propertygrid-notify#72613</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8725">eam74</a><br /><strong>Subject:</strong> 22352<br /><strong>Posted:</strong> 07 July 2014 at 3:28pm<br /><br />Aha - the problem was in the OnDockingPaneNotify function instead.&nbsp; I was missing the line<br><br><font face="Courier New, Courier, mono">m_colPropertyGrid.SetOwner(this);</font><br><br>after calling Create.&nbsp; I'm not sure why that doesn't&nbsp; happen automatically given that you pass in a parameter for the parent window during Create, but it works now!<br>]]>
   </description>
   <pubDate>Mon, 07 Jul 2014 15:28:24 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=22352&amp;PID=72613&amp;title=cannot-capture-xtpwm-propertygrid-notify#72613</guid>
  </item> 
  <item>
   <title><![CDATA[Cannot capture XTPWM_PROPERTYGRID_NOTIFY : looked at the MDIPanes Sample...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=22352&amp;PID=72612&amp;title=cannot-capture-xtpwm-propertygrid-notify#72612</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8725">eam74</a><br /><strong>Subject:</strong> 22352<br /><strong>Posted:</strong> 07 July 2014 at 3:12pm<br /><br />looked at the MDIPanes Sample and tried adding a notify to that:<br><br>in ChildFrm.h added<br><font face="Courier New, Courier, mono"><br>protected:<br>afx_msg LRESULT OnGridNotify(WPARAM wParam, LPARAM lParam)</font>;<br><br>in ChildFrm.cpp added<br><font face="Courier New, Courier, mono"><br>&nbsp;&nbsp;&nbsp; ON_MESSAGE(XTPWM_PROPERTYGRID_NOTIFY, OnGridNotify)<br><br>LRESULT CChildFrame::OnGridNotify(WPARAM wParam, LPARAM lParam) {<br>&nbsp;&nbsp;&nbsp; TRACE0("GRID NOTIFY\n");<br>&nbsp;&nbsp;&nbsp; return TRUE;<br>}<br></font><br>and it prints out the message as expected.&nbsp; This seems to be precisely what I was doing... could it be that I am overriding something else that I shouldn't be??<br>]]>
   </description>
   <pubDate>Mon, 07 Jul 2014 15:12:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=22352&amp;PID=72612&amp;title=cannot-capture-xtpwm-propertygrid-notify#72612</guid>
  </item> 
  <item>
   <title><![CDATA[Cannot capture XTPWM_PROPERTYGRID_NOTIFY : As the title says, I am unable...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=22352&amp;PID=72611&amp;title=cannot-capture-xtpwm-propertygrid-notify#72611</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8725">eam74</a><br /><strong>Subject:</strong> 22352<br /><strong>Posted:</strong> 07 July 2014 at 2:30pm<br /><br />As the title says, I am unable to capture any event from the property grid in my frame.&nbsp; I have tried catching both in parent and child frame but the function is never called.<br><br>Here are the relevant parts of my code, let me know what else might help:<br><br>ChildFrame.h:<br><br><font face="Courier New, Courier, mono">protected:<br>&nbsp;&nbsp;&nbsp; afx_msg LRESULT OnGridNotify(WPARAM wParam, LPARAM lParam);<br>&nbsp;&nbsp;&nbsp; DECLARE_MESSAGE_MAP()</font><br><br>ChildFrame.cpp:<br><br><font face="Courier New, Courier, mono">IMPLEMENT_DYNCREATE(CChildFrame, CMDIChildWnd)<br><br>BEGIN_MESSAGE_MAP(CChildFrame, CMDIChildWnd)<br>&nbsp;&nbsp;&nbsp; ON_WM_CREATE()<br>&nbsp;&nbsp;&nbsp; ON_MESSAGE(XTPWM_DOCKINGPANE_NOTIFY, OnDockingPaneNotify)<br>&nbsp;&nbsp;&nbsp; ON_MESSAGE(XTPWM_PROPERTYGRID_NOTIFY, OnGridNotify) //IDR_PANE_PROPERTIES<br>END_MESSAGE_MAP()<br><br>...<br><br>&nbsp;&nbsp;&nbsp; //in OnDockingPaneNotify:<br>&nbsp;&nbsp;&nbsp; m_colPropertyGrid.Create(CRect(0,0,125,125), this, 0);<br><br>LRESULT CChildFrame::OnGridNotify(WPARAM wParam, LPARAM lParam)<br>{<br>&nbsp;&nbsp;&nbsp; TRACE0("Property Grid Notify from CHILD FRAME\n");<br>&nbsp;&nbsp;&nbsp; return 0;<br>}</font><br><br>I am able to capture the SendNotifyMessage in my derived class (ColPropertyGrid) but this is not where I want to catch the message.&nbsp; I tried commenting it out thinking maybe that was blocking the message from being sent, but no difference.<br><br>I have been looking at the DrawClient sample for this but I can't figure out what I'm missing.&nbsp; Any help would be appreciated.<br>]]>
   </description>
   <pubDate>Mon, 07 Jul 2014 14:30:20 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=22352&amp;PID=72611&amp;title=cannot-capture-xtpwm-propertygrid-notify#72611</guid>
  </item> 
 </channel>
</rss>