<?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 : ASSERT after inplace edit finish</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : ASSERT after inplace edit finish]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 04 Apr 2026 00:28:32 +0000</pubDate>
  <lastBuildDate>Tue, 06 Jun 2017 01:35:52 +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=23355</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[ASSERT after inplace edit finish : It&amp;#039;s always happening when...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23355&amp;PID=75865&amp;title=assert-after-inplace-edit-finish#75865</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 23355<br /><strong>Posted:</strong> 06 June 2017 at 1:35am<br /><br />It's always happening when the edit control is loosing focus.<br>I will try to create a sample based on your report samples. <br>In my case a modeless dialog calls a modal dialog .<br>The assert happens because the AssertValid is called for the Inplace Edit control and this window no longer exists.<br>]]>
   </description>
   <pubDate>Tue, 06 Jun 2017 01:35:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23355&amp;PID=75865&amp;title=assert-after-inplace-edit-finish#75865</guid>
  </item> 
  <item>
   <title><![CDATA[ASSERT after inplace edit finish : Hello,There is almost no indication...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23355&amp;PID=75863&amp;title=assert-after-inplace-edit-finish#75863</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8199">astoyan</a><br /><strong>Subject:</strong> 23355<br /><strong>Posted:</strong> 05 June 2017 at 12:59am<br /><br />Hello,<div><br></div><div>There is almost no indication that the assertion is caused by any of XTP classes as the only evidence of Codejock components being involved is the presence of CXTPDialogBase::OnWndMsg call on your stack. But that's not enough for fixing or reproducing that bug. You also haven't mentioned the version of the Toolkit you have issue with.</div><div><br></div><div>Have you had a chance to test the same or similar functionality the closest &nbsp;available options? If not please try that first, then submit as much as possible information or try to make a simple sample.</div><div><br></div><div>Regards,</div><div>&nbsp; &nbsp;Alexander</div><div><br></div>]]>
   </description>
   <pubDate>Mon, 05 Jun 2017 00:59:46 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23355&amp;PID=75863&amp;title=assert-after-inplace-edit-finish#75863</guid>
  </item> 
  <item>
   <title><![CDATA[ASSERT after inplace edit finish : HI;I&amp;#039;m using the report control...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23355&amp;PID=75859&amp;title=assert-after-inplace-edit-finish#75859</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 23355<br /><strong>Posted:</strong> 02 June 2017 at 5:47am<br /><br />HI;<br><br>I'm using the report control inside a modal dialog box. Whenever i finish editing (by pressing return or escape or ...) I get an ASSERT in CWnd::AssertValid() (line 902 in wincore.cpp).<br><table width="99%"><tr><td><pre class="BBcode">#ifdef _DEBUG<br>void CWnd::AssertValid() const<br>{<br>&nbsp;&nbsp;&nbsp; if (m_hWnd == NULL)<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return;&nbsp;&nbsp;&nbsp;&nbsp; // null (unattached) windows are valid<br><br>&nbsp;&nbsp;&nbsp; // check for special wnd??? values<br>&nbsp;&nbsp;&nbsp; ASSERT(HWND_TOP == NULL);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // same as desktop<br>&nbsp;&nbsp;&nbsp; if (m_hWnd == HWND_BOTTOM)<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ASSERT(this == &amp;CWnd::wndBottom);<br>&nbsp;&nbsp;&nbsp; else if (m_hWnd == HWND_TOPMOST)<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ASSERT(this == &amp;CWnd::wndTopMost);<br>&nbsp;&nbsp;&nbsp; else if (m_hWnd == HWND_NOTOPMOST)<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ASSERT(this == &amp;CWnd::wndNoTopMost);<br>&nbsp;&nbsp;&nbsp; else<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; // should be a normal window<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ASSERT(::IsWindow(m_hWnd));&nbsp;&nbsp;&nbsp; <b>&lt;--- ASSERT happens here</b><br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; // should also be in the permanent or temporary handle map<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CHandleMap* pMap = afxMapHWND();<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ASSERT(pMap != NULL);<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CObject* p=NULL;</pre></td></tr></table><br><br>And here is the call stack:<br><br><img src="uploads/109/ReportEdit_Callstack.png" height="426" width="1332" border="0" /><br><br>How can I avoid this assert?<br>]]>
   </description>
   <pubDate>Fri, 02 Jun 2017 05:47:47 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23355&amp;PID=75859&amp;title=assert-after-inplace-edit-finish#75859</guid>
  </item> 
 </channel>
</rss>