<?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 : PropertyPage OnInitDialog</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : PropertyPage OnInitDialog]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 20 Apr 2026 07:01:09 +0000</pubDate>
  <lastBuildDate>Mon, 17 Dec 2012 11:44:45 +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=20443</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[PropertyPage OnInitDialog : We or I am evaluating the ToolkitProEval.MFC.v15.3.1MFC...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=20443&amp;PID=69434&amp;title=propertypage-oninitdialog#69434</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=7757">MudHut</a><br /><strong>Subject:</strong> 20443<br /><strong>Posted:</strong> 17 December 2012 at 11:44am<br /><br />We or I am evaluating the ToolkitProEval.MFC.v15.3.1&nbsp;MFC controls integrated in VS 2010. My question concerns the implementation in a derived PropertyPage where we have derived sheets and views and out PropertyPages, Sheets and Views derive from a CBasePage or CBasSheet or CBaseView which all eventually derive from the MFC CPropertyPage, CPropertySheet and CPropertyView classes. Property pages seem at first glance to be similar to CDialog but could be mistaken.<div><br></div><div>We would like to use the ReportControl to create more than 255 controls on a page (MFC limit is 255) and render different controls in the row/column cell matirx. Using the ReportDemo as a basis of how to implement is different in our MFC project's behavior. The ReportDemo sample appears to use an ICustomControl that is classed to XTPReport. We are only adding columns at this point in the OnInitDialog method but can not get to the OnInitDialog derived method. This is not clear why the missing call unless a resource or class is not being created, found...</div><div><br></div><div>Our evaluation experience is the derived OnInitDialog method is not called when we use the ICustonControl and this custom control takes over the entire property page including the tab (title) area. From appearances and previous implementation our derivation is working without the custom control.&nbsp;</div><div><br></div><div>The CreateIndirect method in dlgcore is used which should call OnInitDialog, no message map needed. &nbsp;Derived classes implement virtual methods OnSetActive, OnInitDialog DDX and call base classes as required. We have been using this architecture for quite some time through the various Visual Studio IDE's with no issue. We have not used the custom control ever.</div><div><br></div><div>I think where we are headed with this note is asking how to get off the ground implementing the ReportControl in a derived CPropertyPage versus the report sample dialog implementation.</div><div><br></div><div>Do we have the custom control resource set up correct?</div><div><br></div><div>Do we meet the ititial requirements to use CodeJock in our winapp (YES)?</div><div><br></div><div>Do we need to register a class and if so which one?</div><div><br></div><div>We can be more specific on questions related to the&nbsp;implementation if we understood where to focus the implementation attention.&nbsp;</div><div><br></div><div>Is there a PropertyPage example? We would like to focus on where to make code adjustments but with MFC not sure what to do.&nbsp;</div>]]>
   </description>
   <pubDate>Mon, 17 Dec 2012 11:44:45 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=20443&amp;PID=69434&amp;title=propertypage-oninitdialog#69434</guid>
  </item> 
 </channel>
</rss>