<?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 : CXTPPropertyGridInPlaceEdit::OnEnKillFocus() BANG!</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Property Grid : CXTPPropertyGridInPlaceEdit::OnEnKillFocus() BANG!]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 19 Apr 2026 05:58:30 +0000</pubDate>
  <lastBuildDate>Thu, 07 May 2009 04:35:00 +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=14184</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[CXTPPropertyGridInPlaceEdit::OnEnKillFocus() BANG! : Appreciate your reply. I&amp;#039;ve...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14184&amp;PID=48737&amp;title=cxtppropertygridinplaceeditonenkillfocus-bang#48737</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5190">newbarker</a><br /><strong>Subject:</strong> 14184<br /><strong>Posted:</strong> 07 May 2009 at 4:35am<br /><br /><P>Appreciate your reply.</P><DIV>I've compiled these samples:</DIV><DIV>&nbsp;</DIV><DIV>PropertyGrid\BindSample</DIV><DIV>PropertyGrid\DrawClient</DIV><DIV>PropertyGrid\GridSample</DIV><DIV>PropertyGrid\OwnerDraw</DIV><DIV>&nbsp;</DIV><DIV>and couldn't get any of them to crash.</DIV><DIV>&nbsp;</DIV><DIV>We're using version 9.60.1. I understand this might be a bit old but we're only using the property grid part of codejock. The property grid is one of the main UI parts to our application, and the application is pretty large so I wanted to try to avoid upgrading at this time because I'm fairly sure an upgrade would take us time to subsume and stabilise. I need to try and fix this fairly quickly.</DIV><DIV>&nbsp;</DIV><DIV>Our application makes a lot of use of BCG and docking windows. The property grid sits inside a BCG docking window. I notice the samples are dialog-based and wonder if that might make a difference.</DIV><DIV>&nbsp;</DIV><DIV>Any ideas you have would be well received.</DIV><DIV>&nbsp;</DIV><DIV>Thanks,</DIV><DIV>&nbsp;</DIV><DIV>Pete</DIV>]]>
   </description>
   <pubDate>Thu, 07 May 2009 04:35:00 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14184&amp;PID=48737&amp;title=cxtppropertygridinplaceeditonenkillfocus-bang#48737</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPPropertyGridInPlaceEdit::OnEnKillFocus() BANG! : Hi,  Can you compile our sample...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14184&amp;PID=48725&amp;title=cxtppropertygridinplaceeditonenkillfocus-bang#48725</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 14184<br /><strong>Posted:</strong> 07 May 2009 at 12:55am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Can you compile our sample and check if it works ?</DIV><DIV>&nbsp;</DIV><DIV>What version do you have ?</DIV>]]>
   </description>
   <pubDate>Thu, 07 May 2009 00:55:22 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14184&amp;PID=48725&amp;title=cxtppropertygridinplaceeditonenkillfocus-bang#48725</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPPropertyGridInPlaceEdit::OnEnKillFocus() BANG! : Moderator: This topic is still...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14184&amp;PID=48703&amp;title=cxtppropertygridinplaceeditonenkillfocus-bang#48703</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5190">newbarker</a><br /><strong>Subject:</strong> 14184<br /><strong>Posted:</strong> 06 May 2009 at 5:34am<br /><br />Moderator: This topic is still pending approval. Can you approve it please?<DIV>&nbsp;</DIV><DIV>Here's the place in the CodeJock code where CWnd::Invalidate() is called:</DIV><P>void CXTPPropertyGridInplaceEdit::OnEnKillfocus()<BR>{<BR>&nbsp;if (!m_pGrid)<BR>&nbsp;&nbsp;return;</P><P>&nbsp;if (m_pItem)<BR>&nbsp;{<BR>&nbsp;&nbsp;m_pItem-&gt;OnValidateEdit();<BR>&nbsp;&nbsp;if (m_pGrid) m_pGrid-&gt;Invalidate(FALSE);<BR>&nbsp;}</P><P>#ifdef XTP_SITENOTIFY_ONFOCUS<BR>&nbsp;XTP_SITENOTIFY_ONFOCUS(this, m_pGrid, FALSE)<BR>#endif<BR>}<BR></P><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 06 May 2009 05:34:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14184&amp;PID=48703&amp;title=cxtppropertygridinplaceeditonenkillfocus-bang#48703</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPPropertyGridInPlaceEdit::OnEnKillFocus() BANG! : Hello, Our application uses CodeJock...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14184&amp;PID=48499&amp;title=cxtppropertygridinplaceeditonenkillfocus-bang#48499</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5190">newbarker</a><br /><strong>Subject:</strong> 14184<br /><strong>Posted:</strong> 30 April 2009 at 6:58am<br /><br /><P>Hello,</P><DIV>Our application uses CodeJock to implement user-interface properties.</DIV><DIV>&nbsp;</DIV><DIV>In <strong>debug mode</strong> only, after entering a property and pressing ENTER, we get a crash:</DIV><DIV>&nbsp;</DIV><DIV>Unhandled exception at 0x7c28fdea (mfc71d.dll) in &lt;our app name&gt;.exe</DIV><DIV>0xC0000005: Access violation reading location 0x00000306.</DIV><DIV>&nbsp;</DIV><DIV>The debugger stops at mfc\cmdtarg.cpp in function <FONT size=2>_AfxDispatchCmdMsg() around this block:</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV>&nbsp;case AfxSigCmd_v:<BR>&nbsp;&nbsp;// normal command or control notification<BR>&nbsp;&nbsp;ASSERT(CN_COMMAND == 0);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // CN_COMMAND same as BN_CLICKED<BR>&nbsp;&nbsp;ASSERT(pExtra == NULL);<BR>&nbsp;&nbsp;(pTarget-&gt;*mmf.pfnCmd_v_v)();&nbsp;&nbsp;&nbsp;&nbsp; // *** STOPS HERE I THINK ***<BR>&nbsp;&nbsp;break;<BR></DIV><DIV>Next up the call stack is CXTPPropertyGridInplaceEdit::OnEnKillfocus().</DIV><DIV>&nbsp;</DIV><DIV>Here's the stack:</DIV><DIV>&nbsp;</DIV><DIV>mfc71d.dll!CWnd::Invalidate(int bErase=0)&nbsp; Line 135 + 0xa</DIV><DIV>CXTPPropertyGridInplaceEdit::OnEnKillfocus()&nbsp; Line 176&nbsp;<BR>mfc71d.dll!_AfxDispatchCmdMsg(CCmdTarget * pTarget=0x0884c018, unsigned int nID=0, int nCode=512, void (void)* pfn=0x00f8390d, void * pExtra=0x00000000, unsigned int nSig=53, AFX_CMDHANDLERINFO * pHandlerInfo=0x00000000)&nbsp; Line 89&nbsp;C++<BR>mfc71d.dll!CCmdTarget::OnCmdMsg(unsigned int nID=0, int nCode=512, void * pExtra=0x00000000, AFX_CMDHANDLERINFO * pHandlerInfo=0x00000000)&nbsp; Line 396 + 0x27&nbsp;C++<BR>mfc71d.dll!CWnd::ReflectChildNotify(unsigned int uMsg=273, unsigned int wParam=33554432, long lParam=1051288, long * pResult=0x00000000)&nbsp; Line 3233 + 0x21&nbsp;C++<BR>mfc71d.dll!CWnd::OnChildNotify(unsigned int uMsg=273, unsigned int wParam=33554432, long lParam=1051288, long * pResult=0x00000000)&nbsp; Line 3205&nbsp;C++<BR></DIV><DIV>Can anyone tell me what might be going wrong?</DIV><DIV>&nbsp;</DIV><DIV>Has anyone seen something like this before?</DIV><DIV>&nbsp;</DIV><DIV>Thanks for looking,</DIV><DIV>&nbsp;</DIV><DIV>Pete</DIV>]]>
   </description>
   <pubDate>Thu, 30 Apr 2009 06:58:09 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14184&amp;PID=48499&amp;title=cxtppropertygridinplaceeditonenkillfocus-bang#48499</guid>
  </item> 
 </channel>
</rss>