<?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 : Resize problem</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Skin Framework : Resize problem]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 03 Apr 2026 16:50:44 +0000</pubDate>
  <lastBuildDate>Thu, 31 Aug 2006 12:27:01 +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=4938</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[Resize problem :  Has anybody encoutered a resize...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4938&amp;PID=15375&amp;title=resize-problem#15375</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2291">afekhar</a><br /><strong>Subject:</strong> 4938<br /><strong>Posted:</strong> 31 August 2006 at 12:27pm<br /><br />Has anybody encoutered a resize or repaint bug when using SkinFramework and fix the problem?<br><br>I'm using this portion of code to create the skinframework object in CMainFrame::OnCreate(...) :<br><br>CComPtr&lt;IUnknown&gt; pIUnknown;<br>&nbsp;&nbsp;&nbsp; if (!SUCCEEDED(AtlAxCreateControlEx(<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; OLESTR("Codejock.SkinFramework.10.3"),<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_hWnd,<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; NULL,<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; NULL,<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &amp;pIUnknown,<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; __uuidof(XtremeSkinFramework::_DSkinFramework), NULL)))<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; MessageBox(_T("Create Control Codejock.SkinFramework failed!"));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return FALSE;<br>&nbsp;&nbsp;&nbsp; }<br><br>CComPtr&lt;XtremeSkinFramework::_DSkinFramework&gt; spSkinFramework;<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; if (SUCCEEDED(pIUnknown.QueryInterface(&amp;spSkinFramework)))<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; spSkinFramework-&gt;LoadSkin(_bstr_t("c:\\Office2007.cjstyles"),_bstr_t(""));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; spSkinFramework-&gt;ApplyWindow(HandleToLong(m_hWnd));<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; XtremeSkinFramework::SkinFrameworkApplyOptions options=spSkinFramework-&gt;GetApplyOptions();<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; options=(XtremeSkinFramework::SkinFrameworkApplyOptions)(options|XtremeSkinFramework::xtpSkinApplyMetrics);<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; spSkinFramework-&gt;PutApplyOptions(options);<br>&nbsp;&nbsp;&nbsp; }<br><br><br>Thank you very much,<br><br><br>Ahmed.<br>]]>
   </description>
   <pubDate>Thu, 31 Aug 2006 12:27:01 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4938&amp;PID=15375&amp;title=resize-problem#15375</guid>
  </item> 
 </channel>
</rss>