<?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 : Bug in &#079;nWindowPosChanging</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Bug in &#079;nWindowPosChanging]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 22 Apr 2026 19:23:51 +0000</pubDate>
  <lastBuildDate>Tue, 04 Nov 2003 02:13:21 +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=210</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[Bug in &#079;nWindowPosChanging : Hello, I found a bug in OnWindowPosChanging...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=210&amp;PID=480&amp;title=bug-in-onwindowposchanging#480</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=201">Karnize</a><br /><strong>Subject:</strong> 210<br /><strong>Posted:</strong> 04 November 2003 at 2:13am<br /><br /><P>Hello,</P><P>I found a bug in OnWindowPosChanging function for EditListBox.</P><P>I use this EditListBox on the resizable form view which lies in the TabView and sometimes EditListBox not only change it size but also move down.</P><P>I found this code in the OnWindowPosChanging for CXTEditListBox:</P><P>if (HasToolbar() &amp;&amp; ::IsWindow(m_editGroup.m_hWnd))<BR>{<BR>&nbsp;&nbsp; lpwndpos-&gt;cy -= BTN_OFFSET;<BR>&nbsp;&nbsp; lpwndpos-&gt;y&nbsp; += BTN_OFFSET;<BR>}<BR></P><P>and change it to these one:</P><P>if (HasToolbar() &amp;&amp; ::IsWindow(m_editGroup.m_hWnd) &amp;&amp; !(lpwndpos-&gt;flags &amp; (SWP_NOSIZE|SWP_NOMOVE)))<BR>{<BR>&nbsp;&nbsp; lpwndpos-&gt;cy -= BTN_OFFSET;<BR> &nbsp; &nbsp;lpwndpos-&gt;y&nbsp; += BTN_OFFSET;<BR>}<BR>and the problem looks to be solved.</P>]]>
   </description>
   <pubDate>Tue, 04 Nov 2003 02:13:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=210&amp;PID=480&amp;title=bug-in-onwindowposchanging#480</guid>
  </item> 
 </channel>
</rss>