<?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 : A big problem for command bar system</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : A big problem for command bar system]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 12:45:20 +0000</pubDate>
  <lastBuildDate>Thu, 16 Sep 2004 12:33:55 +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=1175</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[A big problem for command bar system : thank you very much,this problem...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1175&amp;PID=3151&amp;title=a-big-problem-for-command-bar-system#3151</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=700">lab_zj</a><br /><strong>Subject:</strong> 1175<br /><strong>Posted:</strong> 16 September 2004 at 12:33pm<br /><br /><P>thank you very much,this problem I have solved by following method:</P><P>1. add message entry ON_MESSAGE(WM_XTP_COMMAND,OnXTPMsg)</P><P>2.&nbsp; LRESULT CMyDialog::OnXTPMsg(WPARAM wParam,LPARAM lParam)</P><P>{</P><BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"><P>if(wParam==ID_COMMAND1)</P><P>{</P><P>...</P><P>return 1;</P><P>}</P><P>if(wParam==ID_COMMAND2)</P><P>{</P><P>...</P><P>return 1;</P><P>}</P><P>...</P><P>...</P><P>return SendMessage(WM_COMMAND,wParam,lParam);</P></BLOCKQUOTE><P dir=ltr>}</P><P>then all command message from toolbar can be processed in general method.</P>]]>
   </description>
   <pubDate>Thu, 16 Sep 2004 12:33:55 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1175&amp;PID=3151&amp;title=a-big-problem-for-command-bar-system#3151</guid>
  </item> 
  <item>
   <title><![CDATA[A big problem for command bar system : Add to your dialog (code from...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1175&amp;PID=3134&amp;title=a-big-problem-for-command-bar-system#3134</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 1175<br /><strong>Posted:</strong> 15 September 2004 at 11:55pm<br /><br /><P>Add to your dialog (code from&nbsp; CXTPFrameWndBase)</P><P>virtual BOOL OnWndMsg(UINT message, WPARAM wParam, LPARAM lParam, LRESULT* pResult)<BR>&nbsp;{<BR>&nbsp;&nbsp;if (message == WM_XTP_COMMAND)<BR>&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;LRESULT lResult = FALSE;<BR>&nbsp;&nbsp;&nbsp;NMHDR* pNMHDR = (NMHDR*)lParam;</P><P>&nbsp;&nbsp;&nbsp;UINT nID = (UINT)pNMHDR-&gt;idFrom;<BR>&nbsp;&nbsp;&nbsp;int nCode = pNMHDR-&gt;code;</P><P>&nbsp;&nbsp;&nbsp;AFX_NOTIFY notify;<BR>&nbsp;&nbsp;&nbsp;notify.pResult = &amp;lResult;<BR>&nbsp;&nbsp;&nbsp;notify.pNMHDR = pNMHDR;<BR>&nbsp;&nbsp;&nbsp;if (OnCmdMsg(nID, MAKELONG(nCode, WM_NOTIFY), &amp;notify, NULL))<BR>&nbsp;&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;&nbsp;*pResult = lResult;<BR>&nbsp;&nbsp;&nbsp;&nbsp;return TRUE;<BR>&nbsp;&nbsp;&nbsp;}<BR>&nbsp;&nbsp;&nbsp;return FALSE;<BR>&nbsp;&nbsp;}</P><P>&nbsp;&nbsp;return TBase::OnWndMsg(message, wParam, lParam, pResult);<BR>&nbsp;}</P>]]>
   </description>
   <pubDate>Wed, 15 Sep 2004 23:55:48 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1175&amp;PID=3134&amp;title=a-big-problem-for-command-bar-system#3134</guid>
  </item> 
  <item>
   <title><![CDATA[A big problem for command bar system : I have created a toolbar,a font...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1175&amp;PID=3119&amp;title=a-big-problem-for-command-bar-system#3119</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=700">lab_zj</a><br /><strong>Subject:</strong> 1175<br /><strong>Posted:</strong> 14 September 2004 at 11:40pm<br /><br /><P>I have created a toolbar,a font combobox and font-size combobox placed in it,then I place this toolbar into a dialog,when I show this dialog,the problem appeared:</P><P>the selection change of font and font-size combobox no effect to my CRichEditCtrl.certainly,I have placed notify receiver that receive notify send from font and font-size combobox,BUT I have founded the notify receiver never called by dialog.Ok,then I read the source code of commandbar,I find this two combobox send it's notify to AfxGetMainWnd() finally,and not it's direct parent/owner(this dialog),SO,I can't receive notify from toolbar's combobox.</P><P>Who can give me some suggestions to solve this problem? thanks.</P><P>&nbsp;</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Tue, 14 Sep 2004 23:40:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1175&amp;PID=3119&amp;title=a-big-problem-for-command-bar-system#3119</guid>
  </item> 
 </channel>
</rss>