<?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 : Add Feature LoadPlacement</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Add Feature LoadPlacement]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 20 Apr 2026 18:32:43 +0000</pubDate>
  <lastBuildDate>Mon, 17 Jan 2005 08:43:44 +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=1675</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[Add Feature LoadPlacement : Please add a bVisible flag to...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1675&amp;PID=4751&amp;title=add-feature-loadplacement#4751</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=233">jimmy</a><br /><strong>Subject:</strong> 1675<br /><strong>Posted:</strong> 17 January 2005 at 8:43am<br /><br />Please add a bVisible flag to the LoadPlacment function.<br>Because on a Dialog SetWindowPlacement make the dialog visible.<br>And if a add after this functioncalling some other resize function.<br>Button 'Show Detail' the window is flickering.<br>After OnInitDialog the Window also get SW_SHOW<br><br>void CExDialog::LoadPlacement(LPCTSTR pszSection, bool bVisible)<br>&nbsp;&nbsp; &nbsp;{<br>&nbsp;&nbsp; &nbsp;UINT nBytes = 0;<br>&nbsp;&nbsp; &nbsp;BYTE* pBytes = 0;<br>&nbsp;&nbsp; &nbsp;AfxGetApp()-&gt;GetProfileBinary(pszSection, ENTRY_WINDOWPLACEMENT, &amp;pBytes, &amp;nBytes);<br>&nbsp;&nbsp; &nbsp;if (nBytes == sizeof(WINDOWPLACEMENT))<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;{<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;WINDOWPLACEMENT *pWP = (WINDOWPLACEMENT*)pBytes;<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;if (!bVisible)<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;pWP-&gt;showCmd = SW_HIDE;<br><br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;m_pWnd-&gt;SetWindowPlacement(pWP);<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;}<br>&nbsp;&nbsp; &nbsp;if (pBytes &amp;&amp; nBytes)<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;delete&#091;&#093; pBytes;<br>&nbsp;&nbsp; &nbsp;}<br><br>&nbsp; Jimmy<br><br>]]>
   </description>
   <pubDate>Mon, 17 Jan 2005 08:43:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1675&amp;PID=4751&amp;title=add-feature-loadplacement#4751</guid>
  </item> 
 </channel>
</rss>