<?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 : More CJ 17 beta 3 shadow woes</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : More CJ 17 beta 3 shadow woes]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 15 Apr 2026 18:55:23 +0000</pubDate>
  <lastBuildDate>Tue, 20 Oct 2015 21:14:43 +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=22747</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[More CJ 17 beta 3 shadow woes : @BeeJay search the forum forExcludeClipRectand...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=22747&amp;PID=74052&amp;title=more-cj-17-beta-3-shadow-woes#74052</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2432">scottp</a><br /><strong>Subject:</strong> 22747<br /><strong>Posted:</strong> 20 October 2015 at 9:14pm<br /><br />@BeeJay search the forum for&nbsp;<span style="font-family: 'Courier New', Courier, mono; line-height: 16.8px; : rgb248, 248, 252;">ExcludeClipRect&nbsp;</span>and you will find the code snippets I have posted before. My changes were required for the MDI tab groups, so probably not related to this core issue anyway.<div><br></div><div>pity this idea did not work for the shadows problem</div>]]>
   </description>
   <pubDate>Tue, 20 Oct 2015 21:14:43 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=22747&amp;PID=74052&amp;title=more-cj-17-beta-3-shadow-woes#74052</guid>
  </item> 
  <item>
   <title><![CDATA[More CJ 17 beta 3 shadow woes : @scottp: no not yet, I haven&amp;#039;t...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=22747&amp;PID=74047&amp;title=more-cj-17-beta-3-shadow-woes#74047</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=7972">BeeJay</a><br /><strong>Subject:</strong> 22747<br /><strong>Posted:</strong> 20 October 2015 at 5:51am<br /><br />@scottp: no not yet, I haven't dived that deep into windows painting details (yet) - I'll check this. Would you mind to provide information where you also have added ExcludeClipRect code in the sources, as we are facing flickering issues, too. I'd really appreciate this (and maybe others, too!). <img src="http://forum.codejock.com/smileys/smiley32.gif" border="0" alt="Clap" title="Clap" /><br><br>EDIT: Unfortunately adding this line does not change the effect. <img src="http://forum.codejock.com/smileys/smiley19.gif" border="0" alt="Cry" title="Cry" /><br><br>I have inserted this code here:<br><br><font face="Courier New, Courier, mono">void CXTPFrameShadow::OnPaint()<br>{<br>&nbsp;&nbsp;&nbsp; if (NULL == m_pPCD)<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ComputeData();<br>&nbsp;&nbsp;&nbsp; }<br><br>&nbsp;&nbsp;&nbsp; CPaintDC dc(this);<br>&nbsp;&nbsp;&nbsp; dc.ExcludeClipRect(m_pPCD-&gt;clientRect);</font><br><br><br>Is this right? Maybe we need your other ExcludeClipRect additions, too?]]>
   </description>
   <pubDate>Tue, 20 Oct 2015 05:51:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=22747&amp;PID=74047&amp;title=more-cj-17-beta-3-shadow-woes#74047</guid>
  </item> 
  <item>
   <title><![CDATA[More CJ 17 beta 3 shadow woes : have you tried something like...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=22747&amp;PID=74046&amp;title=more-cj-17-beta-3-shadow-woes#74046</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2432">scottp</a><br /><strong>Subject:</strong> 22747<br /><strong>Posted:</strong> 20 October 2015 at 3:32am<br /><br />have you tried something like this in CXTPFrameShadow::OnPaint?<div>dc.ExcludeClipRect(m_pPCD-&gt;clientRect);</div><div><br></div><div>We have needed to patch&nbsp;XTPTabClientWnd.cpp in several places to add ExcludeClipRect to help avoid flicker</div>]]>
   </description>
   <pubDate>Tue, 20 Oct 2015 03:32:14 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=22747&amp;PID=74046&amp;title=more-cj-17-beta-3-shadow-woes#74046</guid>
  </item> 
  <item>
   <title><![CDATA[More CJ 17 beta 3 shadow woes : would there be an option not to...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=22747&amp;PID=74045&amp;title=more-cj-17-beta-3-shadow-woes#74045</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=7972">BeeJay</a><br /><strong>Subject:</strong> 22747<br /><strong>Posted:</strong> 20 October 2015 at 2:01am<br /><br />would there be an option not to draw a full solid black rectangle for the Shadow but just to leave out the whole internal part?<br><br>see the attached animated gif (I hope the forum software does not break it up)<br><br><img src="uploads/7972/Resizing_with_black_background.gif" height="721" width="371" border="0" /><br>]]>
   </description>
   <pubDate>Tue, 20 Oct 2015 02:01:29 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=22747&amp;PID=74045&amp;title=more-cj-17-beta-3-shadow-woes#74045</guid>
  </item> 
  <item>
   <title><![CDATA[More CJ 17 beta 3 shadow woes : This can help, especially with...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=22747&amp;PID=74044&amp;title=more-cj-17-beta-3-shadow-woes#74044</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3213">rdhd</a><br /><strong>Subject:</strong> 22747<br /><strong>Posted:</strong> 19 October 2015 at 11:56am<br /><br />This can help, especially with terminal sessions. But I have to turn off shadows due to the other issue where none of my web browser controls created after a resize operation function properly. I already commented out code for setting the window pos (including doing nothing by just returning from the Drag method by adding "return;" at the top of the method) so I'm guessing that even with the shadow not displayed but enabled for resize, I'll encounter the browser control problem, including the lockups I can get when navigating when a resize is in progress where all that seems to be executing when I pump messages is the shadow hooking code.<br><br>Basically, hard to tell until I get hold of the new code.<br>]]>
   </description>
   <pubDate>Mon, 19 Oct 2015 11:56:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=22747&amp;PID=74044&amp;title=more-cj-17-beta-3-shadow-woes#74044</guid>
  </item> 
  <item>
   <title><![CDATA[More CJ 17 beta 3 shadow woes : Hi Alexander,&amp;gt;As long as re-designing...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=22747&amp;PID=74043&amp;title=more-cj-17-beta-3-shadow-woes#74043</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=669">markr</a><br /><strong>Subject:</strong> 22747<br /><strong>Posted:</strong> 19 October 2015 at 9:30am<br /><br /><span style="line-height: 16.8px; : rgb248, 248, 252;">Hi Alexander,</span><div><br></div><div>&gt;&nbsp;As long as re-designing shadows is not a option, the problem has been solved by adding global Frame Manager flags<div><br></div><div>This seems like a reasonable compromise.</div></div><div><br></div><div>When will a new build be available to us for testing?</div><div><br></div><div>Regards,</div><div><br></div><div>Mark R.</div>]]>
   </description>
   <pubDate>Mon, 19 Oct 2015 09:30:14 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=22747&amp;PID=74043&amp;title=more-cj-17-beta-3-shadow-woes#74043</guid>
  </item> 
  <item>
   <title><![CDATA[More CJ 17 beta 3 shadow woes : As long as re-designing shadows...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=22747&amp;PID=74042&amp;title=more-cj-17-beta-3-shadow-woes#74042</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8199">astoyan</a><br /><strong>Subject:</strong> 22747<br /><strong>Posted:</strong> 18 October 2015 at 5:09pm<br /><br />As long as re-designing shadows is not a option, the problem has been solved by adding global Frame Manager flags:<div><br></div><div><div>enum XTPFrameShadowManagerFlags</div><div>{</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>// Frame shadows disabled. When this flags is set the existing shadow made</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>// invisible and not resizeable (xtpFrameShadowsInvisible | xtpFrameShadowsNotResizeable</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>// get enabled automatically) but no new shadows will be created for new windows.</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>xtpFrameShadowsDisabled = 1,</div><div><br></div><div><span ="Apple-tab-span" style="white-space:pre">	</span>// Frame shadows are not visible but remain resizeable.</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>xtpFrameShadowsInvisible = 2,</div><div><br></div><div><span ="Apple-tab-span" style="white-space:pre">	</span>// Frame shadows cannot be used for resizing the owner windows.</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>xtpFrameShadowsNotResizeable = 4,</div><div><br></div><div><span ="Apple-tab-span" style="white-space:pre">	</span>// Frame shadows are automatically disabled for Terminal Services sessions,&nbsp;</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>// e.g. Remote Desktop Connection. When it's set and a Terminal Services&nbsp;</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>// session is detected all existing and new shadows will be made invisible&nbsp;</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>// and not resizealbe (xtpFrameShadowsInvisible | xtpFrameShadowsNotResizeable).</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>// Once terminal session abandoning is detected those flags</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>// will get restored to their original values.</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>xtpFrameShadowsDisabledInTSS = 8,</div><div><br></div><div><span ="Apple-tab-span" style="white-space:pre">	</span>// Frame shadows are automatically invisible for Terminal Services sessions,&nbsp;</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>// e.g. Remote Desktop Connection, but remain resizealbe.</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>xtpFrameShadowsInvisibleInTSS = 0x10</div><div>};</div></div><div><br></div><div>Please let me know your thoughts on it.</div><div>Regards,</div><div>&nbsp; Alexander</div>]]>
   </description>
   <pubDate>Sun, 18 Oct 2015 17:09:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=22747&amp;PID=74042&amp;title=more-cj-17-beta-3-shadow-woes#74042</guid>
  </item> 
  <item>
   <title><![CDATA[More CJ 17 beta 3 shadow woes : @rhd: I can fully support your...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=22747&amp;PID=74024&amp;title=more-cj-17-beta-3-shadow-woes#74024</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=7972">BeeJay</a><br /><strong>Subject:</strong> 22747<br /><strong>Posted:</strong> 14 October 2015 at 8:44am<br /><br />@rhd: I can fully support your last reply! <img src="http://forum.codejock.com/smileys/smiley32.gif" border="0" alt="Clap" title="Clap" /><br>]]>
   </description>
   <pubDate>Wed, 14 Oct 2015 08:44:15 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=22747&amp;PID=74024&amp;title=more-cj-17-beta-3-shadow-woes#74024</guid>
  </item> 
  <item>
   <title><![CDATA[More CJ 17 beta 3 shadow woes : I had to disable the shadow for...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=22747&amp;PID=74023&amp;title=more-cj-17-beta-3-shadow-woes#74023</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3213">rdhd</a><br /><strong>Subject:</strong> 22747<br /><strong>Posted:</strong> 14 October 2015 at 8:26am<br /><br />I had to disable the shadow for all sessions due to the other issues it is causing like keeping web browser controls from working. As for remote sessions, I agree these fancy graphics are problematic. However, I was running our app via Visual Studio and VS has a shadow, just implemented differently, and I didn't notice an issue with it.<br><br>I do like the new resizing ability the shadow achieves, but the pain isn't worth the gain! Couldn't the tracking the shadow window gives can be achieved with a window that draws ... nothing.<br>]]>
   </description>
   <pubDate>Wed, 14 Oct 2015 08:26:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=22747&amp;PID=74023&amp;title=more-cj-17-beta-3-shadow-woes#74023</guid>
  </item> 
  <item>
   <title><![CDATA[More CJ 17 beta 3 shadow woes : Drawing semi-transparent graphics...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=22747&amp;PID=74021&amp;title=more-cj-17-beta-3-shadow-woes#74021</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8199">astoyan</a><br /><strong>Subject:</strong> 22747<br /><strong>Posted:</strong> 13 October 2015 at 10:27pm<br /><br />Drawing semi-transparent graphics will always cause performance issues when run remotely, this is the reason why most of remote desktop software disable DWM and other niceties by default. Creating 4 semi trasparent underlying windows instead of one layered will probably make it a little bit faster for the price of reduced functionality and customizability of the shadow, but it might cause other unexpected issues in its turn.&nbsp;<span style="line-height: 1.4;">One possible solution that I can suggest, and please tell me what you think about it, is to optionally disable all frame shadows when connected remotely.</span>]]>
   </description>
   <pubDate>Tue, 13 Oct 2015 22:27:00 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=22747&amp;PID=74021&amp;title=more-cj-17-beta-3-shadow-woes#74021</guid>
  </item> 
 </channel>
</rss>