<?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 : I want a (slider)control to not be skinned</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Skin Framework : I want a (slider)control to not be skinned]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 04 Apr 2026 19:43:50 +0000</pubDate>
  <lastBuildDate>Thu, 27 Aug 2009 13:48:24 +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=6595</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[I want a (slider)control to not be skinned :   Bart wrote:Hi, thank you for...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6595&amp;PID=52470&amp;title=i-want-a-slidercontrol-to-not-be-skinned#52470</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1305">Simon HB9DRV</a><br /><strong>Subject:</strong> 6595<br /><strong>Posted:</strong> 27 August 2009 at 1:48pm<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by Bart" alt="Originally posted by Bart" style="vertical-align: text-bottom;" /> <strong>Bart wrote:</strong><br /><br />Hi, thank you for the sample, that works as advertised <img src="https://forum.codejock.com/smileys/smiley4.gif" border="0"> <DIV>&nbsp;</DIV><DIV>Was missing the if clause <img src="https://forum.codejock.com/smileys/smiley9.gif" border="0">, and was using GetSafeHwnd() to pass to Remove(). &nbsp;Maybe that the control is created through dlgtemplate and attached using ddx has something to do with it.<BR><BR>Anyways, thanks for the swift and helpfull reply! <img src="https://forum.codejock.com/smileys/smiley20.gif" border="0"></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV></td></tr></table> <DIV></DIV>And many thanks from me :)]]>
   </description>
   <pubDate>Thu, 27 Aug 2009 13:48:24 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6595&amp;PID=52470&amp;title=i-want-a-slidercontrol-to-not-be-skinned#52470</guid>
  </item> 
  <item>
   <title><![CDATA[I want a (slider)control to not be skinned : Hi, thank you for the sample,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6595&amp;PID=21099&amp;title=i-want-a-slidercontrol-to-not-be-skinned#21099</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2173">Bart</a><br /><strong>Subject:</strong> 6595<br /><strong>Posted:</strong> 12 March 2007 at 3:37am<br /><br />Hi, thank you for the sample, that works as advertised <img src="https://forum.codejock.com/smileys/smiley4.gif" border="0"><DIV>&nbsp;</DIV><DIV>Was missing the if clause <img src="https://forum.codejock.com/smileys/smiley9.gif" border="0">, and was using GetSafeHwnd() to pass to Remove(). &nbsp;Maybe that the control is created through dlgtemplate and attached using ddx has something to do with it.<BR><BR>Anyways, thanks for the swift and helpfull reply! <img src="https://forum.codejock.com/smileys/smiley20.gif" border="0"></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 12 Mar 2007 03:37:57 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6595&amp;PID=21099&amp;title=i-want-a-slidercontrol-to-not-be-skinned#21099</guid>
  </item> 
  <item>
   <title><![CDATA[I want a (slider)control to not be skinned : Hi, I tried it in our sample...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6595&amp;PID=21046&amp;title=i-want-a-slidercontrol-to-not-be-skinned#21046</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 6595<br /><strong>Posted:</strong> 09 March 2007 at 2:51am<br /><br />Hi,<DIV>I tried it in our sample created new class, added </DIV><DIV>int CMySlider::OnCreate(LPCREATESTRUCT lpCreateStruct) <BR>{<BR>&nbsp;if (CSliderCtrl::OnCreate(lpCreateStruct) == -1)<BR>&nbsp;&nbsp;return -1;<BR>&nbsp;<BR>&nbsp;XTPSkinManager()-&gt;Remove(m_hWnd);<BR>&nbsp;<BR>&nbsp;return 0;<BR>}</DIV><DIV>&nbsp;</DIV><DIV>and create:</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;ms.Create(WS_CHILD|WS_VISIBLE, CRect(0, 0, 400, 30), this, 0);<BR></DIV><DIV>&nbsp;</DIV><DIV>works good</DIV><DIV>&nbsp;</DIV><DIV>Can you try to reproduce problem and attach project?<BR></DIV>]]>
   </description>
   <pubDate>Fri, 09 Mar 2007 02:51:50 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6595&amp;PID=21046&amp;title=i-want-a-slidercontrol-to-not-be-skinned#21046</guid>
  </item> 
  <item>
   <title><![CDATA[I want a (slider)control to not be skinned : Hi All,  I already tried XTP...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6595&amp;PID=21016&amp;title=i-want-a-slidercontrol-to-not-be-skinned#21016</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2173">Bart</a><br /><strong>Subject:</strong> 6595<br /><strong>Posted:</strong> 08 March 2007 at 8:49am<br /><br />Hi All,<DIV>&nbsp;</DIV><DIV>I already tried XTPSkinManager()-&gt;Remove(hwnd), which works, except that on exit MFC Asserts during DestroyWindow() that there's something wrong with the parmanentmap (link between hWnd and CWnd objects). Other then the assert, things work fine.</DIV><DIV>&nbsp;</DIV><DIV>I've tried both calling XTPSkinManager()-&gt;Remove(hwnd) before and after baseclass::OnCreate().</DIV><DIV>&nbsp;</DIV><DIV>The control concerned is a CSliderCtrl derived that does custom painting for all elements (except background, but it works fine with the skin).</DIV><DIV>&nbsp;</DIV><DIV>Thanks in advance!</DIV>]]>
   </description>
   <pubDate>Thu, 08 Mar 2007 08:49:57 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6595&amp;PID=21016&amp;title=i-want-a-slidercontrol-to-not-be-skinned#21016</guid>
  </item> 
 </channel>
</rss>