<?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 : Problem with ComboBox child window</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Skin Framework : Problem with ComboBox child window]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 05 Apr 2026 22:27:00 +0000</pubDate>
  <lastBuildDate>Fri, 11 Jul 2008 09:30:10 +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=11387</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[Problem with ComboBox child window : Thank you!  Just calling LoadSkin...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11387&amp;PID=38233&amp;title=problem-with-combobox-child-window#38233</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3031">upeters</a><br /><strong>Subject:</strong> 11387<br /><strong>Posted:</strong> 11 July 2008 at 9:30am<br /><br />Thank you!<br /><br />Just calling LoadSkin once (without pointing to any skin) before the dialog is displayed is indeed sufficient - now the scrollbars of the combobox are skinned correctly.<br /><br />Ulrich]]>
   </description>
   <pubDate>Fri, 11 Jul 2008 09:30:10 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11387&amp;PID=38233&amp;title=problem-with-combobox-child-window#38233</guid>
  </item> 
  <item>
   <title><![CDATA[Problem with ComboBox child window : Hi,  Load Skin before you create...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11387&amp;PID=38203&amp;title=problem-with-combobox-child-window#38203</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 11387<br /><strong>Posted:</strong> 11 July 2008 at 3:15am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Load Skin before you create this dialog.</DIV>]]>
   </description>
   <pubDate>Fri, 11 Jul 2008 03:15:12 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11387&amp;PID=38203&amp;title=problem-with-combobox-child-window#38203</guid>
  </item> 
  <item>
   <title><![CDATA[Problem with ComboBox child window : Hello, thank you for your post.  I...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11387&amp;PID=38170&amp;title=problem-with-combobox-child-window#38170</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3031">upeters</a><br /><strong>Subject:</strong> 11387<br /><strong>Posted:</strong> 10 July 2008 at 3:24pm<br /><br />Hello, thank you for your post.<br /><br />I tried that in the past (and once more right now just to make sure), but it didn't seem to make any difference. A pop-up message box is skinned correctly, so it seems that I am indeed skinning child windows - just not that one.<br />The strange thing is that when I use the OCX and perform the same steps<table width="99%"><tr><td><pre class="BBcode">SkinFramework:LoadSkin(".\\AutoPlay\\Docs\\VistaVGBlue.cjstyles","");<br />SkinFramework:ApplyWindow(Application.GetWndHandle());</pre></td></tr></table>it works normally, and the dropdown is skinned. It is as if the OCX is doing something undocumented, that has to be done as well to make the MFC version work in the same way.<br /><img src="http://forum.codejock.com/smileys/smiley5.gif" border="0" align="middle"> <br /><br />Ulrich]]>
   </description>
   <pubDate>Thu, 10 Jul 2008 15:24:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11387&amp;PID=38170&amp;title=problem-with-combobox-child-window#38170</guid>
  </item> 
  <item>
   <title><![CDATA[Problem with ComboBox child window : I think the combo box drop-down...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11387&amp;PID=38168&amp;title=problem-with-combobox-child-window#38168</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3717">Smucker</a><br /><strong>Subject:</strong> 11387<br /><strong>Posted:</strong> 10 July 2008 at 3:05pm<br /><br />I think the combo box drop-down is not actually a child of the window, soit won't be skinned unless you're skinning all new windows.<br><font face="Courier New, Courier, mono" size="2"><br>&nbsp; XTPSkinManager()-&gt;SetAutoApplyNewWindows(TRUE);<br>&nbsp; XTPSkinManager()-&gt;SetAutoApplyNewThreads(TRUE);</font><br><br>]]>
   </description>
   <pubDate>Thu, 10 Jul 2008 15:05:45 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11387&amp;PID=38168&amp;title=problem-with-combobox-child-window#38168</guid>
  </item> 
  <item>
   <title><![CDATA[Problem with ComboBox child window : Hello,  I am developing a plugin...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11387&amp;PID=38166&amp;title=problem-with-combobox-child-window#38166</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3031">upeters</a><br /><strong>Subject:</strong> 11387<br /><strong>Posted:</strong> 10 July 2008 at 2:35pm<br /><br />Hello,<br /><br />I am developing a plugin for a third-party application, which is among other things adding the possibility to skin the application window.<br /><br />I am able to use the ActiveX correctly (it skins the scrollbar of dropdown window of the ComboBox as expected), but the MFC version refuses to skin the scrollbar of the child window, keeping the current Windows skin. Normal child windows (like a MessageBox) are skinned correctly.<br /><br />Here is an excerpt of the program, showing how I activate the SkinFramework.<br /><table width="99%"><tr><td><pre class="BBcode"><br />union uMyUnion {<br />&nbsp;&nbsp;&nbsp;&nbsp;long unsigned uValue;<br />&nbsp;&nbsp;&nbsp;&nbsp;HWND hWnd;<br />};<br />(...)<br />if (XTPSkinManager()-&gt;LoadSkin(_T(szTheme), _T(szIniFile)) != TRUE) {<br />&nbsp;&nbsp;&nbsp;&nbsp;// failure, abort here<br />&nbsp;&nbsp;&nbsp;&nbsp;nLastError = 12001;<br />&nbsp;&nbsp;&nbsp;&nbsp;lua_pushnumber(L, (double)1);<br />}<br />else {<br />&nbsp;&nbsp;&nbsp;&nbsp;// apply skin<br />&nbsp;&nbsp;&nbsp;&nbsp;u.uValue = (long unsigned)dParameter;<br />&nbsp;&nbsp;&nbsp;&nbsp;XTPSkinManager()-&gt;SetApplyOptions(XTPSkinManager()-&gt;GetApplyOptions() | xtpSkinApplyFrame | xtpSkinApplyColors | xtpSkinApplyMetrics);<br />&nbsp;&nbsp;&nbsp;&nbsp;XTPSkinManager()-&gt;ApplyWindow(u.hWnd);<br />&nbsp;&nbsp;&nbsp;&nbsp;lua_pushnumber(L, (double)0);<br />}<br /></pre></td></tr></table><br />Here is a picture showing the result, note that the scrollbar is not correctly skinned:<br /><br /><img src="uploads/20080710_143004_SNAG-080710-02.png" border="0"><br /><br />Could somebody show me what I am missing? Thank you in advance.<br /><br />Ulrich]]>
   </description>
   <pubDate>Thu, 10 Jul 2008 14:35:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11387&amp;PID=38166&amp;title=problem-with-combobox-child-window#38166</guid>
  </item> 
 </channel>
</rss>