<?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 : XTP_NM_REPORT_SELCHANGED message handle in FormVie</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : XTP_NM_REPORT_SELCHANGED message handle in FormVie]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 30 May 2026 04:28:52 +0000</pubDate>
  <lastBuildDate>Tue, 27 Mar 2012 02:32:03 +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=19601</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[XTP_NM_REPORT_SELCHANGED message handle in FormVie : I find out what happen! Because...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=19601&amp;PID=67864&amp;title=xtp-nm-report-selchanged-message-handle-in-formvie#67864</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=7405">jhkdiy</a><br /><strong>Subject:</strong> 19601<br /><strong>Posted:</strong> 27 March 2012 at 2:32am<br /><br /><P>I find out what happen! Because In my CFormView, I use CXTPDockingPane, and Create three Panes in this form, </P><DIV>Now the CXTPRepot control's parent window is Pane, not the CFormView. so report control can not receive any message.</DIV><DIV>&nbsp;</DIV><DIV>but, how can i solve this problem? </DIV><DIV>how can i get the&nbsp;DockingPane's CWnd* pointer?&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 27 Mar 2012 02:32:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=19601&amp;PID=67864&amp;title=xtp-nm-report-selchanged-message-handle-in-formvie#67864</guid>
  </item> 
  <item>
   <title><![CDATA[XTP_NM_REPORT_SELCHANGED message handle in FormVie : Hi, How to handle XTP_NM_REPORT_SELCHANGED...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=19601&amp;PID=67853&amp;title=xtp-nm-report-selchanged-message-handle-in-formvie#67853</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=7405">jhkdiy</a><br /><strong>Subject:</strong> 19601<br /><strong>Posted:</strong> 26 March 2012 at 2:39am<br /><br />Hi, How to handle XTP_NM_REPORT_SELCHANGED message in CFormView ？ <DIV>I Create a XTPReport&nbsp;Custom control in my dialog, derive from CFormView:</DIV><DIV>&nbsp;</DIV><DIV>1: in header file :</DIV><DIV>CXTPReportControl m_wndReportCtrl;</DIV><DIV>afx_msg void OnRowColChanged(NMHDR * pNotifyStruct, LRESULT * result);</DIV><DIV>&nbsp;</DIV><DIV>2: in cpp file:</DIV><DIV>BEGIN_MESSAGE_MAP(CUIDepotCheckBill, CFormView)<BR>&nbsp;//{{AFX_MSG_MAP(CUIDepotCheckBill)<BR>&nbsp;ON_NOTIFY(TVN_SELCHANGED, IDC_TREE_BILLTYPE, OnSelchangedTreeBilltype)<BR>&nbsp;ON_COMMAND(IDM_COMM_CHECKBILL, OnCommCheckbill)<BR>&nbsp;ON_COMMAND(IDM_COMM_PRINT_BILL, OnCommPrintBill)<BR>&nbsp;ON_COMMAND(IDM_COMM_DELBILL, OnCommDelbill)<BR>&nbsp;ON_WM_SIZE()<BR>&nbsp;//}}AFX_MSG_MAP</DIV><DIV>&nbsp;</DIV><DIV>// i want to handle&nbsp;&nbsp;follow message&nbsp;&nbsp;<BR>&nbsp;ON_NOTIFY(XTP_NM_REPORT_SELCHANGED, IDC_REPORT_LIST, OnRowColChanged)</DIV><DIV><BR>&nbsp;ON_MESSAGE(XTPWM_DOCKINGPANE_NOTIFY, OnDockingPaneNotify)<BR>&nbsp;ON_MESSAGE(WM_KICKIDLE, OnKickIdle)<BR>END_MESSAGE_MAP()</DIV><DIV>&nbsp;</DIV><DIV>3: init:</DIV><DIV>void CUIDepotCheckBill::OnInitialUpdate() <BR>{</DIV><DIV>&nbsp; </DIV><DIV>&nbsp;&nbsp; m_wndReportCtrl.SubClassDlgItem(IDC_REPORT_LIST, this);</DIV><DIV>&nbsp;&nbsp; ....</DIV><DIV>}</DIV><DIV>&nbsp;</DIV><DIV>4: adding handle code:</DIV><DIV>void CUIDepotCheckBill::OnRowColChanged(NMHDR* /*pNotifyStruct*/, LRESULT* /*result*/)<BR>{</DIV><DIV>&nbsp;&nbsp;&nbsp; MessageBox("SelChanged!", "提示", MB_ICONINFORMATION);</DIV><DIV>}</DIV><DIV>&nbsp;</DIV><DIV>when I run application, <FONT size=5>nothing occur!</FONT></DIV><DIV>&nbsp;</DIV><DIV>Thank's any replay!</DIV>]]>
   </description>
   <pubDate>Mon, 26 Mar 2012 02:39:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=19601&amp;PID=67853&amp;title=xtp-nm-report-selchanged-message-handle-in-formvie#67853</guid>
  </item> 
 </channel>
</rss>