<?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 : Using DDX_Control for CXTPControlEdit</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Using DDX_Control for CXTPControlEdit]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 29 Apr 2026 18:32:24 +0000</pubDate>
  <lastBuildDate>Fri, 06 Mar 2009 07:19: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=13597</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[Using DDX_Control for CXTPControlEdit : Yes, I think so too.It&amp;#039;s...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13597&amp;PID=46346&amp;title=using-ddx-control-for-cxtpcontroledit#46346</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2876">DavidH</a><br /><strong>Subject:</strong> 13597<br /><strong>Posted:</strong> 06 March 2009 at 7:19am<br /><br />Yes, I think so too.<br><br>It's only that I'm not using CXTPControlEdit itself, but my own class derived from CXTPControlEdit.<br>It does some complex input parsing, so I prefer to use the same class in the Ribbon and in the Dialogs.<br><br>Maybe it's just not possible, and I just need to share the parsing logic.<br><br>David.<br>]]>
   </description>
   <pubDate>Fri, 06 Mar 2009 07:19:55 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13597&amp;PID=46346&amp;title=using-ddx-control-for-cxtpcontroledit#46346</guid>
  </item> 
  <item>
   <title><![CDATA[Using DDX_Control for CXTPControlEdit : Hi, CXTPControlEdit is part of...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13597&amp;PID=46345&amp;title=using-ddx-control-for-cxtpcontroledit#46345</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 13597<br /><strong>Posted:</strong> 06 March 2009 at 7:12am<br /><br />Hi,<DIV>CXTPControlEdit is part of CommandBars.&nbsp;&nbsp; guess you need CXTPEdit.</DIV>]]>
   </description>
   <pubDate>Fri, 06 Mar 2009 07:12:12 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13597&amp;PID=46345&amp;title=using-ddx-control-for-cxtpcontroledit#46345</guid>
  </item> 
  <item>
   <title><![CDATA[Using DDX_Control for CXTPControlEdit : Hi,I have defined a Dialog box...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13597&amp;PID=46343&amp;title=using-ddx-control-for-cxtpcontroledit#46343</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2876">DavidH</a><br /><strong>Subject:</strong> 13597<br /><strong>Posted:</strong> 06 March 2009 at 5:42am<br /><br />Hi,<br><br>I have defined a Dialog box in my resource file. It has an edit box defined as follows:<br>EDITTEXT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IDC_LENGTH,62,8,54,12,ES_AUTOHSCROLL | NOT WS_BORDER,WS_EX_STATICEDGE<br><br><br>In the accompanying CXTPDialog derived class I try to put an CXTPControlEdit in its place using DDX_Control:<br><br>In the class declaration:<br>class CSetLengthDlg: CXTPDialog {<br>...<br>CXTPControlEdit veLength_;<br>...<br>};<br><br>In the implementation:<br><br>void CSetLengthDlg::DoDataExchange(CDataExchange* pDX)<br>{<br>&nbsp; CDialog::DoDataExchange(pDX);<br>&nbsp; DDX_Control(pDX, IDC_LENGTH, veLength_);<br>}<br><br>The compiler complains:<br>error C2664: 'DDX_Control' : cannot convert parameter 3 from 'CXTPControlEdit' to 'CWnd &amp;'<br><br>Although this is the standard MFC approach, I'm obviously taking the wrong route here. <br><br>What's the CodeJock way to do this?<br><br>Thanks a lot for your help.<br><br>David.<br><br>]]>
   </description>
   <pubDate>Fri, 06 Mar 2009 05:42:16 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13597&amp;PID=46343&amp;title=using-ddx-control-for-cxtpcontroledit#46343</guid>
  </item> 
 </channel>
</rss>