<?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 to post WM_COMMAND to Specified window.</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : How to post WM_COMMAND to Specified window.]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 11 Jun 2026 05:42:41 +0000</pubDate>
  <lastBuildDate>Wed, 16 Apr 2008 22:37:52 +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=10264</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 to post WM_COMMAND to Specified window. : It self-solved it.  TPM_RETURNCMD...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10264&amp;PID=33791&amp;title=how-to-post-wm-command-to-specified-window#33791</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3504">ledled</a><br /><strong>Subject:</strong> 10264<br /><strong>Posted:</strong> 16 April 2008 at 10:37pm<br /><br /><P>It self-solved it. </P><P>TPM_RETURNCMD was unnecessary. <BR></P>]]>
   </description>
   <pubDate>Wed, 16 Apr 2008 22:37:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10264&amp;PID=33791&amp;title=how-to-post-wm-command-to-specified-window#33791</guid>
  </item> 
  <item>
   <title><![CDATA[How to post WM_COMMAND to Specified window. : sorry it forgot to say.   CreateControlmessage...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10264&amp;PID=33787&amp;title=how-to-post-wm-command-to-specified-window#33787</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3504">ledled</a><br /><strong>Subject:</strong> 10264<br /><strong>Posted:</strong> 16 April 2008 at 9:37pm<br /><br />sorry it forgot to say. <DIV>&nbsp;</DIV><DIV><img src="https://forum.codejock.com/smileys/smiley1.gif" border="0">CreateControl&nbsp;message was able to be received by this code. <BR><BR></DIV><DIV></DIV><DIV></DIV><DIV></DIV>]]>
   </description>
   <pubDate>Wed, 16 Apr 2008 21:37:10 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10264&amp;PID=33787&amp;title=how-to-post-wm-command-to-specified-window#33787</guid>
  </item> 
  <item>
   <title><![CDATA[How to post WM_COMMAND to Specified window. : Hi, I want the WM_COMMAND message...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10264&amp;PID=33784&amp;title=how-to-post-wm-command-to-specified-window#33784</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3504">ledled</a><br /><strong>Subject:</strong> 10264<br /><strong>Posted:</strong> 16 April 2008 at 9:29pm<br /><br /><P>Hi,</P><DIV>I want the WM_COMMAND message in the post to m_pParentWnd. </DIV><DIV>But, it is not possible to receive it by this code.</DIV><DIV>&nbsp;</DIV><DIV><img src="http://forum.codejock.com/smileys/smiley5.gif" border="0">How is WM_COMMAND of the menu click posted in the window of Specified?<BR></DIV><DIV>&nbsp;</DIV><DIV>------------------------------</DIV><DIV>LRESULT XX::OnTaskPanelNotify(WPARAM wParam, LPARAM lParam)<BR>{</DIV><DIV>&nbsp;&nbsp;&nbsp; switch (wParam) {</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; case XTP_TPN_RCLICK:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CPoint pos;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;GetCursorPos(&amp;pos);</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CMenu menu;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;VERIFY(menu.LoadMenu(IDM_POPUP));</DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CMenu* pPopup = menu.GetSubMenu(0); <DIV>CXTPCommandBars::TrackPopupMenu(pPopup, (TPM_RECURSE | TPM_RIGHTBUTTON | TPM_NONOTIFY | TPM_RETURNCMD), pos.x, pos.y, m_pParentWnd);</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; break;</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</DIV><DIV>&nbsp;&nbsp;&nbsp;}</DIV><DIV>}</DIV>]]>
   </description>
   <pubDate>Wed, 16 Apr 2008 21:29:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10264&amp;PID=33784&amp;title=how-to-post-wm-command-to-specified-window#33784</guid>
  </item> 
 </channel>
</rss>