<?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 and SetModified</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Controls : CXTPPropertyPage and SetModified]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 04:21:17 +0000</pubDate>
  <lastBuildDate>Sat, 22 Jun 2013 16:17:40 +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=21691</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 and SetModified : Resolved, will be available in...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=21691&amp;PID=71192&amp;title=cxtppropertypage-and-setmodified#71192</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=7464">ilya</a><br /><strong>Subject:</strong> 21691<br /><strong>Posted:</strong> 22 June 2013 at 4:17pm<br /><br />Resolved, will be available in 16.2.1]]>
   </description>
   <pubDate>Sat, 22 Jun 2013 16:17:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=21691&amp;PID=71192&amp;title=cxtppropertypage-and-setmodified#71192</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPPropertyPage and SetModified : The issue is caused by VS2012P...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=21691&amp;PID=71190&amp;title=cxtppropertypage-and-setmodified#71190</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=7464">ilya</a><br /><strong>Subject:</strong> 21691<br /><strong>Posted:</strong> 22 June 2013 at 12:12pm<br /><br />The issue is caused by VS2012<div><br></div><div>PS.</div><div><a href="http://msdn.microsoft.com/en-us/library/bb531344.aspx" target="_blank" rel="nofollow">http://msdn.microsoft.com/en-us/library/bb531344.aspx</a></div>]]>
   </description>
   <pubDate>Sat, 22 Jun 2013 12:12:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=21691&amp;PID=71190&amp;title=cxtppropertypage-and-setmodified#71190</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPPropertyPage and SetModified : Since SDK 8.0/ ToolkitPro 16.1.0...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=21691&amp;PID=71064&amp;title=cxtppropertypage-and-setmodified#71064</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5158">lrenoux</a><br /><strong>Subject:</strong> 21691<br /><strong>Posted:</strong> 05 June 2013 at 8:11am<br /><br />Since SDK 8.0/ ToolkitPro 16.1.0 and Visual 2012, it's not possible to call method SetModified from an instance of CXTPPropertyPage. Because the new SDK 8.0 method inherited from CPropertyPage search for a CPropertySheet parent class in method GetParentSheet() :<div><br></div><div>void CPropertyPage::SetModified(BOOL bChanged)</div><div>{</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>if (m_hWnd == NULL) // allowed for backward compatibility</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>return;</div><div><br></div><div><span ="Apple-tab-span" style="white-space:pre">	</span>ASSERT(::IsWindow(m_hWnd));</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>ASSERT(GetParentSheet() != NULL);</div><div><br></div><div><span ="Apple-tab-span" style="white-space:pre">	</span>CWnd* pParentWnd = GetParentSheet();</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>if (bChanged)</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>pParentWnd-&gt;SendMessage(PSM_CHANGED, (WPARAM)m_hWnd);</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>else</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>pParentWnd-&gt;SendMessage(PSM_UNCHANGED, (WPARAM)m_hWnd);</div><div>}</div><div><br></div><div>CPropertySheet *CPropertyPage::GetParentSheet()</div><div>{</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>for (CWnd *pWnd = GetParent(); pWnd != NULL; pWnd = pWnd-&gt;GetParent())</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>{</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>CPropertySheet *pSheet = DYNAMIC_DOWNCAST(CPropertySheet, pWnd);</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>if (pSheet != NULL)</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>{</div><div><span ="Apple-tab-span" style="white-space:pre">			</span>return pSheet;</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>}</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>}</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>ASSERT(FALSE); // Could not find the CPropertySheet</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>return NULL;</div><div>}</div><div><br></div><div>and your CXTPPropertySheet doesn't inherit from CPropertySheet but CDialog.</div><div><br></div><div><br></div><div>Ticket open.</div><div><br></div><div>L.</div>]]>
   </description>
   <pubDate>Wed, 05 Jun 2013 08:11:30 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=21691&amp;PID=71064&amp;title=cxtppropertypage-and-setmodified#71064</guid>
  </item> 
 </channel>
</rss>