<?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 : CXTPPropertyPage does not work with OnCmdMsg</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : CXTPPropertyPage does not work with OnCmdMsg]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 20 Apr 2026 11:23:22 +0000</pubDate>
  <lastBuildDate>Tue, 30 Jun 2009 03:02:42 +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=14639</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[CXTPPropertyPage does not work with OnCmdMsg : Nah, I want to put a dialog/form...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14639&amp;PID=50489&amp;title=cxtppropertypage-does-not-work-with-oncmdmsg#50489</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 14639<br /><strong>Posted:</strong> 30 June 2009 at 3:02am<br /><br />Nah, I want to put a dialog/form inside a pane. This is no big deal, but if you want scrollbars for the dialog, then CXTPPropertyPage is the way to go. Though, for correct keyboard handling, the hack above is needed!]]>
   </description>
   <pubDate>Tue, 30 Jun 2009 03:02:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14639&amp;PID=50489&amp;title=cxtppropertypage-does-not-work-with-oncmdmsg#50489</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPPropertyPage does not work with OnCmdMsg :    znakeeye wrote:I believe...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14639&amp;PID=50475&amp;title=cxtppropertypage-does-not-work-with-oncmdmsg#50475</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1755">ABuenger</a><br /><strong>Subject:</strong> 14639<br /><strong>Posted:</strong> 29 June 2009 at 3:09pm<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by znakeeye" alt="Originally posted by znakeeye" style="vertical-align: text-bottom;" /> <strong>znakeeye wrote:</strong><br /><br /><font size="2">I believe CPropertyPage is not meant to be used as a pane window :P. Thanks for your assistance though.</font></td></tr></table><br><br>What you want is a tabbed view. See the sample.<br><br>]]>
   </description>
   <pubDate>Mon, 29 Jun 2009 15:09:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14639&amp;PID=50475&amp;title=cxtppropertypage-does-not-work-with-oncmdmsg#50475</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPPropertyPage does not work with OnCmdMsg :  I was right. Copying CDialog::PreTranslateMessage...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14639&amp;PID=50474&amp;title=cxtppropertypage-does-not-work-with-oncmdmsg#50474</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 14639<br /><strong>Posted:</strong> 29 June 2009 at 2:44pm<br /><br /><FONT color=#010001 size=2><FONT color=#010001 size=2><DIV>I was right. Copying CDialog::PreTranslateMessage and overriding it in my CPropertyPage-based class&nbsp;solved it:</DIV><DIV></FONT></FONT><FONT size=2></FONT>&nbsp;</DIV><FONT size=2><DIV>BOOL CDialogPaneBase::PreTranslateMessage(MSG* pMsg)<BR>{<BR>&nbsp;&nbsp;&nbsp; // CPropertyPage does not handle messages the way we want, but CDialog does.<BR>&nbsp;&nbsp;&nbsp; return CDialog::PreTranslateMessage(pMsg);<BR>}</DIV><DIV>&nbsp;</DIV><DIV>I believe CPropertyPage is not meant to be used as a pane window :P. Thanks for your assistance though.</FONT></DIV>]]>
   </description>
   <pubDate>Mon, 29 Jun 2009 14:44:13 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14639&amp;PID=50474&amp;title=cxtppropertypage-does-not-work-with-oncmdmsg#50474</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPPropertyPage does not work with OnCmdMsg : Hi, I need more details about...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14639&amp;PID=50470&amp;title=cxtppropertypage-does-not-work-with-oncmdmsg#50470</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 14639<br /><strong>Posted:</strong> 29 June 2009 at 2:03pm<br /><br /><P>Hi,</P><DIV>I need more details about what you have, where/what you call to give some hint. ideally if you update propertysheet sample and attach it here.</DIV>]]>
   </description>
   <pubDate>Mon, 29 Jun 2009 14:03:12 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14639&amp;PID=50470&amp;title=cxtppropertypage-does-not-work-with-oncmdmsg#50470</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPPropertyPage does not work with OnCmdMsg : Could this be it?   BOOL CP...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14639&amp;PID=50453&amp;title=cxtppropertypage-does-not-work-with-oncmdmsg#50453</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 14639<br /><strong>Posted:</strong> 29 June 2009 at 8:52am<br /><br /><P>Could this be it?</P><DIV></DIV><DIV></DIV><FONT color=#010001 size=2><FONT color=#010001 size=2><P>BOOL</FONT></FONT><FONT size=2> </FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>CPropertyPage</FONT></FONT><FONT size=2>::</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>PreTranslateMessage</FONT></FONT><FONT size=2>(</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>MSG</FONT></FONT><FONT size=2>* </FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>pMsg</FONT></FONT><FONT size=2>)</P><P>{</P><P></FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>VERIFY</FONT></FONT><FONT size=2>(!</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>CWnd</FONT></FONT><FONT size=2>::</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>PreTranslateMessage</FONT></FONT><FONT size=2>(</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>pMsg</FONT></FONT><FONT size=2>));</P><P></FONT><strong><FONT color=#0000ff size=2><FONT color=#0000ff size=2>return</FONT></FONT><FONT size=2> </FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>FALSE</FONT></FONT><FONT size=2>; </FONT><FONT color=#008000 size=2><FONT color=#008000 size=2>// handled by CPropertySheet::PreTranslateMessage</P></FONT></FONT></strong><FONT size=2><P>}</P></FONT>]]>
   </description>
   <pubDate>Mon, 29 Jun 2009 08:52:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14639&amp;PID=50453&amp;title=cxtppropertypage-does-not-work-with-oncmdmsg#50453</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPPropertyPage does not work with OnCmdMsg : My pane derives from CPaneBase,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14639&amp;PID=50451&amp;title=cxtppropertypage-does-not-work-with-oncmdmsg#50451</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 14639<br /><strong>Posted:</strong> 29 June 2009 at 8:41am<br /><br /><DIV>My pane derives from CPaneBase, which is derived from CXTPPropertyPage. When I press &lt;enter&gt; in my edit-box, nothing happens.</DIV><DIV>If I change the base-class of CPaneBase to CXTPDialog, &lt;enter&gt; triggers OnOK.</DIV><DIV>&nbsp;</DIV><DIV>Hence, the problem must be in CXTPPropertyPage!</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV><strong>Note:</strong></DIV><DIV>I did find a similar problem on the net, regarding <strong>CPropertyPage</strong>. I was hoping you knew what was going on. Anyway, if MFC does something nasty with property pages, then I must use CXTPDialog instead. It would be great to have scrollbar-functionality, but it seems it's only implemented in CXTPPropertyPage <img src="http://forum.codejock.com/smileys/smiley19.gif" border="0">. Any hints?</DIV>]]>
   </description>
   <pubDate>Mon, 29 Jun 2009 08:41:32 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14639&amp;PID=50451&amp;title=cxtppropertypage-does-not-work-with-oncmdmsg#50451</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPPropertyPage does not work with OnCmdMsg : Hi, it have to - CProperypage...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14639&amp;PID=50447&amp;title=cxtppropertypage-does-not-work-with-oncmdmsg#50447</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 14639<br /><strong>Posted:</strong> 29 June 2009 at 7:30am<br /><br /><P>Hi,</P><DIV>it have to - CProperypage derived from CDialog. Check in MFC sources what methods can prevent it.</DIV>]]>
   </description>
   <pubDate>Mon, 29 Jun 2009 07:30:05 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14639&amp;PID=50447&amp;title=cxtppropertypage-does-not-work-with-oncmdmsg#50447</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPPropertyPage does not work with OnCmdMsg : I have some panes derived from...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14639&amp;PID=50403&amp;title=cxtppropertypage-does-not-work-with-oncmdmsg#50403</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 14639<br /><strong>Posted:</strong> 27 June 2009 at 12:16pm<br /><br />I have some panes derived from CXTPPropertyPane. This gives me good scrollbar behavior thanks to the special member variables m_TotalDev etc. Though, I discovered a problem; my command-handlers stopped working when I switched from CXTPDialog to CXTPPropertyPage.<DIV>&nbsp;</DIV><DIV>// My custom command router stopped working:</DIV><DIV>if (pPane-&gt;OnCmdMsg(...))</DIV><DIV>&nbsp;&nbsp;&nbsp; return TRUE;</DIV><DIV>&nbsp;</DIV><DIV>How do I make my commands work inside a CXTPPropertyPane? If it's not possible, then how do I get the scrollbar behavior in CXTPDialog?</DIV>]]>
   </description>
   <pubDate>Sat, 27 Jun 2009 12:16:28 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14639&amp;PID=50403&amp;title=cxtppropertypage-does-not-work-with-oncmdmsg#50403</guid>
  </item> 
 </channel>
</rss>