<?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 : New skin problem</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Skin Framework : New skin problem]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 06 Apr 2026 00:45:22 +0000</pubDate>
  <lastBuildDate>Wed, 21 May 2008 02:46:55 +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=10699</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[New skin problem : thanks Oleg,  This is just the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10699&amp;PID=35516&amp;title=new-skin-problem#35516</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3627">himanshu</a><br /><strong>Subject:</strong> 10699<br /><strong>Posted:</strong> 21 May 2008 at 2:46am<br /><br />thanks Oleg,<DIV>&nbsp;</DIV><DIV>This is just the sample i am trying many things.that call "SendMessage" was intended over there.</DIV>]]>
   </description>
   <pubDate>Wed, 21 May 2008 02:46:55 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10699&amp;PID=35516&amp;title=new-skin-problem#35516</guid>
  </item> 
  <item>
   <title><![CDATA[New skin problem : Just save pointer ButtonOldProc...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10699&amp;PID=35514&amp;title=new-skin-problem#35514</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 10699<br /><strong>Posted:</strong> 21 May 2008 at 2:02am<br /><br />Just save pointer<FONT size=1><P></FONT><FONT color=#020002 size=1><FONT color=#020002 size=1>ButtonOldProc</FONT></FONT><FONT size=1> = (</FONT><FONT color=#020002 size=1><FONT color=#020002 size=1>WNDPROC</FONT></FONT><FONT size=1>)</FONT><FONT color=#020002 size=1><FONT color=#020002 size=1>SetWindowLongPtr</FONT></FONT><FONT size=1>( </FONT><FONT color=#020002 size=1><FONT color=#020002 size=1>hWndButton</FONT></FONT><FONT size=1>, </FONT><FONT color=#020002 size=1><FONT color=#020002 size=1>GWLP_WNDPROC</FONT></FONT><FONT size=1>, (</FONT><FONT color=#020002 size=1><FONT color=#020002 size=1>LONG_PTR</FONT></FONT><FONT size=1>)</FONT><FONT color=#020002 size=1><FONT color=#020002 size=1>StaticOptMenuWndProc</FONT></FONT><FONT size=1> );</P><DIV></DIV><P>&nbsp;</P><P>and use it in <FONT color=#020002>StaticOptMenuWndProc</FONT></P><DIV></DIV><FONT color=#0000ff size=1><FONT color=#0000ff size=1><P>static</FONT></FONT><FONT size=1> </FONT><FONT color=#020002 size=1><FONT color=#020002 size=1>LRESULT</FONT></FONT><FONT size=1> </FONT><FONT color=#020002 size=1><FONT color=#020002 size=1>CALLBACK</FONT></FONT><FONT size=1> </FONT><FONT color=#020002 size=1><FONT color=#020002 size=1>StaticOptMenuWndProc</FONT></FONT><FONT size=1>( </FONT><FONT color=#020002 size=1><FONT color=#020002 size=1>HWND</FONT></FONT><FONT size=1> </FONT><FONT color=#020002 size=1><FONT color=#020002 size=1>hWnd</FONT></FONT><FONT size=1>, </FONT><FONT color=#020002 size=1><FONT color=#020002 size=1>UINT</FONT></FONT><FONT size=1> </FONT><FONT color=#020002 size=1><FONT color=#020002 size=1>uMsg</FONT></FONT><FONT size=1>, </FONT><FONT color=#020002 size=1><FONT color=#020002 size=1>WPARAM</FONT></FONT><FONT size=1> </FONT><FONT color=#020002 size=1><FONT color=#020002 size=1>wParam</FONT></FONT><FONT size=1>, </FONT><FONT color=#020002 size=1><FONT color=#020002 size=1>LPARAM</FONT></FONT><FONT size=1> </FONT><FONT color=#020002 size=1><FONT color=#020002 size=1>lParam</FONT></FONT><FONT size=1> )</P><P>{</P><P></FONT><FONT color=#020002 size=1><FONT color=#020002 size=1>WNDPROC</FONT></FONT><FONT size=1> </FONT><FONT color=#020002 size=1><FONT color=#020002 size=1>lpfnButtonProc</FONT></FONT><FONT size=1> = </FONT><FONT color=#020002 size=1><FONT color=#020002 size=1>ButtonOldProc</FONT></FONT><FONT size=1>;</P><DIV></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>ps. You need cleanup your code. its too dirty.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>for example This code</DIV><FONT size=1><P></FONT><FONT color=#0000ff size=1><FONT color=#0000ff size=1>case</FONT></FONT><FONT size=1> </FONT><FONT color=#020002 size=1><FONT color=#020002 size=1>WM_LBUTTONDOWN</FONT></FONT><FONT size=1>:</P><P>{</P><P></FONT><FONT color=#020002 size=1><FONT color=#020002 size=1>SendMessage</FONT></FONT><FONT size=1>( </FONT><FONT color=#020002 size=1><FONT color=#020002 size=1>hWnd</FONT></FONT><FONT size=1>, </FONT><FONT color=#020002 size=1><FONT color=#020002 size=1>WM_PAINT</FONT></FONT><FONT size=1>, </FONT><FONT color=#020002 size=1><FONT color=#020002 size=1>wParam</FONT></FONT><FONT size=1>, </FONT><FONT color=#020002 size=1><FONT color=#020002 size=1>lParam</FONT></FONT><FONT size=1> );</P><DIV></DIV><P>&nbsp;</P><P>can kill OS.</FONT></FONT></FONT></P>]]>
   </description>
   <pubDate>Wed, 21 May 2008 02:02:45 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10699&amp;PID=35514&amp;title=new-skin-problem#35514</guid>
  </item> 
  <item>
   <title><![CDATA[New skin problem : hi  could you please put the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10699&amp;PID=35501&amp;title=new-skin-problem#35501</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3627">himanshu</a><br /><strong>Subject:</strong> 10699<br /><strong>Posted:</strong> 21 May 2008 at 12:56am<br /><br />hi<DIV>&nbsp;</DIV><DIV>could you please put the code for how to achieve this.</DIV><DIV>&nbsp;</DIV><DIV>thanks</DIV><DIV>himanshu</DIV>]]>
   </description>
   <pubDate>Wed, 21 May 2008 00:56:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10699&amp;PID=35501&amp;title=new-skin-problem#35501</guid>
  </item> 
  <item>
   <title><![CDATA[New skin problem : Hi, Problem in sample code.  You...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10699&amp;PID=35465&amp;title=new-skin-problem#35465</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 10699<br /><strong>Posted:</strong> 20 May 2008 at 8:43am<br /><br />Hi,<DIV>Problem in sample code.</DIV><DIV>&nbsp;</DIV><DIV>You set windowproc for button and then call <FONT color=#020002 size=1><FONT color=#020002 size=1>wndClass</FONT></FONT><FONT size=1>.</FONT><FONT color=#020002 size=1><FONT color=#020002 size=1>lpfnWndProc. </FONT></FONT></DIV><DIV><FONT color=#020002 size=1>but have to store previous windowproc and call it.</FONT></DIV><DIV><FONT size=1></FONT>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 20 May 2008 08:43:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10699&amp;PID=35465&amp;title=new-skin-problem#35465</guid>
  </item> 
  <item>
   <title><![CDATA[New skin problem : hi please find the sample att...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10699&amp;PID=35464&amp;title=new-skin-problem#35464</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3627">himanshu</a><br /><strong>Subject:</strong> 10699<br /><strong>Posted:</strong> 20 May 2008 at 8:22am<br /><br />hi<DIV>please find the sample attached</DIV><DIV>:)<a href="https://forum.codejock.com/uploads/20080520_082214_TestMFCApp.zip" target="_blank">uploads/20080520_082214_TestMFCApp.zip</A></DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 20 May 2008 08:22:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10699&amp;PID=35464&amp;title=new-skin-problem#35464</guid>
  </item> 
  <item>
   <title><![CDATA[New skin problem : Hi, Think you already know that...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10699&amp;PID=35463&amp;title=new-skin-problem#35463</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 10699<br /><strong>Posted:</strong> 20 May 2008 at 8:12am<br /><br />Hi,<DIV>Think you already know that my answer will be "please attach this sample project"</DIV><DIV>:)</DIV>]]>
   </description>
   <pubDate>Tue, 20 May 2008 08:12:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10699&amp;PID=35463&amp;title=new-skin-problem#35463</guid>
  </item> 
  <item>
   <title><![CDATA[New skin problem : HI  please find the image attached...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10699&amp;PID=35460&amp;title=new-skin-problem#35460</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3627">himanshu</a><br /><strong>Subject:</strong> 10699<br /><strong>Posted:</strong> 20 May 2008 at 7:24am<br /><br />HI<DIV>&nbsp;</DIV><DIV>please find the image attached </DIV><DIV>&nbsp;</DIV><DIV>i am not able to apply skin for the button attached with dialog box created with CreateWindow.</DIV><DIV>&nbsp;</DIV><DIV><img src="https://forum.codejock.com/uploads/20080520_072328_skin_for_open_d.JPG" border="0"></DIV>]]>
   </description>
   <pubDate>Tue, 20 May 2008 07:24:01 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10699&amp;PID=35460&amp;title=new-skin-problem#35460</guid>
  </item> 
 </channel>
</rss>