<?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 : OnEndLabelEdit</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Task Panel : OnEndLabelEdit]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 14 May 2026 09:42:35 +0000</pubDate>
  <lastBuildDate>Thu, 24 May 2007 11:44:57 +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=7227</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[OnEndLabelEdit : I override CXTPTaskPanel::OnEndLabelEdit()...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7227&amp;PID=23214&amp;title=onendlabeledit#23214</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2622">playertwo</a><br /><strong>Subject:</strong> 7227<br /><strong>Posted:</strong> 24 May 2007 at 11:44am<br /><br />I override CXTPTaskPanel::OnEndLabelEdit() to ensure that the user isn't assigning a name that already exists.  If the name does exist, I raise a message box (AfxMessageBox) to ask the user if he wants to replace the existing item.  This always leads to a crash.<br /><br />I stepped through the function, and I noticed that as soon as I invoke AfxMessageBox(), OnEndLabelEdit() is called again.  Two message boxes come up, and, after closing them both, the program crashes.<br /><br />How can I raise a message box from OnEndLabelEdit() and avoid this crash?]]>
   </description>
   <pubDate>Thu, 24 May 2007 11:44:57 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7227&amp;PID=23214&amp;title=onendlabeledit#23214</guid>
  </item> 
 </channel>
</rss>