<?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 : No notification message from custom button</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Property Grid : No notification message from custom button]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 19 Apr 2026 11:19:33 +0000</pubDate>
  <lastBuildDate>Sat, 08 Mar 2008 06:06:37 +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=9827</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[No notification message from custom button : Hi,   I met a strange problem...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9827&amp;PID=32035&amp;title=no-notification-message-from-custom-button#32035</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3829">floydzhang</a><br /><strong>Subject:</strong> 9827<br /><strong>Posted:</strong> 08 March 2008 at 6:06am<br /><br />Hi, <DIV>&nbsp;</DIV><DIV>I met a strange problem with XTP 11.2.1. I inserted a propertygrid on a pane, and I also created a CXTListCtrl on that pane. I could catch the notification message through OnGridNotify() when I clicked the standard grid items. Then I inserted some custom button as grid item into the propertygrid(same&nbsp;as GridSample) , but I couldn't catch the notification message through OnGridNotify() when I clicked custom button.</DIV><DIV>&nbsp;</DIV><DIV>What's the problem...? </DIV><DIV>&nbsp;</DIV><DIV>some of my code:</DIV><DIV>&nbsp;</DIV><DIV>BEGIN_MESSAGE_MAP(CPropertiesPane, CWnd)<BR>&nbsp;&nbsp;&nbsp;&nbsp; ......</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp; ON_MESSAGE(XTPWM_PROPERTYGRID_NOTIFY, OnGirdNotify)</DIV><DIV>END_MESSAGE_MAP()</DIV><DIV>&nbsp;</DIV><DIV>LRESULT CPropertiesPane::OnGirdNotify(WPARAM wParam, LPARAM lParam)<BR>{<BR>&nbsp;&nbsp; &nbsp; int nGridAction = (int)wParam;</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp; .....</DIV><DIV>}</DIV><DIV>&nbsp;</DIV><DIV>int CPropertiesPane::OnCreate(LPCREATESTRUCT lpCreateStruct)<BR>{<BR>&nbsp;&nbsp;&nbsp; if (CWnd::OnCreate(lpCreateStruct) == -1)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return -1;</DIV><DIV>&nbsp;&nbsp; </DIV><DIV>&nbsp;&nbsp;&nbsp; ......</DIV><DIV>&nbsp;&nbsp; &nbsp;if (m_wndPropertyGridPart.GetSafeHwnd() == 0)<BR>&nbsp;&nbsp;&nbsp; {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; m_wndPropertyGridPart.Create(CRect(0, 0, 0, 0), this, 0xf0);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; m_wndPropertyGridPart.SetOwner(this);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; m_wndPropertyGridPart.SetTheme(xtpGridThemeDefault);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; m_wndPropertyGridPart.ShowHelp(FALSE);</DIV><DIV>&nbsp;&nbsp;&nbsp; .....<BR>}</DIV><DIV>&nbsp;</DIV><DIV>Regards</DIV><DIV>Boyang</DIV>]]>
   </description>
   <pubDate>Sat, 08 Mar 2008 06:06:37 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9827&amp;PID=32035&amp;title=no-notification-message-from-custom-button#32035</guid>
  </item> 
 </channel>
</rss>