<?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 : shadow causes windows to disappear</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : shadow causes windows to disappear]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 07 Jun 2026 17:12:58 +0000</pubDate>
  <lastBuildDate>Wed, 10 Jul 2019 08:15:15 +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=23835</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[shadow causes windows to disappear : Covered by the shadow window?...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23835&amp;PID=77416&amp;title=shadow-causes-windows-to-disappear#77416</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3213">rdhd</a><br /><strong>Subject:</strong> 23835<br /><strong>Posted:</strong> 10 July 2019 at 8:15am<br /><br />Covered by the shadow window? Sounds like it might be. I looked at Microsoft Visual Studio's shadow. It is actually 4 windows fashioned just around the edge of the app.<br>]]>
   </description>
   <pubDate>Wed, 10 Jul 2019 08:15:15 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23835&amp;PID=77416&amp;title=shadow-causes-windows-to-disappear#77416</guid>
  </item> 
  <item>
   <title><![CDATA[shadow causes windows to disappear : I think I also reproduced this...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23835&amp;PID=77413&amp;title=shadow-causes-windows-to-disappear#77413</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=686">cpede</a><br /><strong>Subject:</strong> 23835<br /><strong>Posted:</strong> 10 July 2019 at 3:43am<br /><br />I think I also reproduced this in the CommandBarSample. When using the Options to first disable Frame Theme and the again use it to enable Frame Theme the entire application turns faded black, and unresponsive.]]>
   </description>
   <pubDate>Wed, 10 Jul 2019 03:43:37 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23835&amp;PID=77413&amp;title=shadow-causes-windows-to-disappear#77413</guid>
  </item> 
  <item>
   <title><![CDATA[shadow causes windows to disappear : It turned out my &amp;#034;fix&amp;#034;...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23835&amp;PID=77297&amp;title=shadow-causes-windows-to-disappear#77297</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3213">rdhd</a><br /><strong>Subject:</strong> 23835<br /><strong>Posted:</strong> 05 April 2019 at 10:08am<br /><br /><div>It turned out my "fix" isn't comprehensive. We still have issues with disappearing windows that float (not just docking panes) if the user simply resizes the application. I have to completely disable the shadow code (again) to avoid the issues. Why is the shadow so hard to implement by CJ?</div>]]>
   </description>
   <pubDate>Fri, 05 Apr 2019 10:08:12 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23835&amp;PID=77297&amp;title=shadow-causes-windows-to-disappear#77297</guid>
  </item> 
  <item>
   <title><![CDATA[shadow causes windows to disappear : Hi Fredrick,No, I never modifed...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23835&amp;PID=77296&amp;title=shadow-causes-windows-to-disappear#77296</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3213">rdhd</a><br /><strong>Subject:</strong> 23835<br /><strong>Posted:</strong> 01 April 2019 at 4:42pm<br /><br /><div>Hi Fredrick,</div><div><br></div><div>No, I never modifed that code. m_hOwner is passed thru CreateEx.<br></div>]]>
   </description>
   <pubDate>Mon, 01 Apr 2019 16:42:00 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23835&amp;PID=77296&amp;title=shadow-causes-windows-to-disappear#77296</guid>
  </item> 
  <item>
   <title><![CDATA[shadow causes windows to disappear : Did you patch XTP with the fix...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23835&amp;PID=77295&amp;title=shadow-causes-windows-to-disappear#77295</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1263">Fredrik</a><br /><strong>Subject:</strong> 23835<br /><strong>Posted:</strong> 01 April 2019 at 3:24pm<br /><br />Did you patch XTP with the fix from&nbsp;<a href="http://forum.codejock.com/forum_posts.asp?TID=23639" rel="nofollow">http://forum.codejock.com/forum_posts.asp?TID=23639</a>&nbsp;to set m_hOwner to NULL in CXTPFrameShadow::Create? We just had the problem that 8 out of 10 users on a course had the problem with shadow covering the application so I tried the fix with setting m_hOwner to NULL. But this caused similar effect as yours: after creating another frame window from the main application and closing it, the main application won't appear top most anymore even if you try to activate it. We don't have this problem with 18.6, but the problem with the shadow covering the application is still there.<div><div></div></div>]]>
   </description>
   <pubDate>Mon, 01 Apr 2019 15:24:58 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23835&amp;PID=77295&amp;title=shadow-causes-windows-to-disappear#77295</guid>
  </item> 
  <item>
   <title><![CDATA[shadow causes windows to disappear : I modified the Samples\Ribbon\RibbonSample...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23835&amp;PID=77293&amp;title=shadow-causes-windows-to-disappear#77293</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3213">rdhd</a><br /><strong>Subject:</strong> 23835<br /><strong>Posted:</strong> 01 April 2019 at 11:01am<br /><br /><div>I modified the Samples\Ribbon\RibbonSample project. In CMainFrame::OnViewOfficeTheme I added this code:</div><div><br></div><div>&nbsp;&nbsp;&nbsp; CThemeDlg dlg(this);<br>&nbsp;&nbsp;&nbsp; dlg.ExcludeTheme(<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; XTP_EXCLUDE_THEME_VISUALSTUDIO6&nbsp;&nbsp;&nbsp; | <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; XTP_EXCLUDE_THEME_VISUALSTUDIO2005 | <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; XTP_EXCLUDE_THEME_VISUALSTUDIO2008 | <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; XTP_EXCLUDE_THEME_VISUALSTUDIO2010 | <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; XTP_EXCLUDE_THEME_VISUALSTUDIO2012 | <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; XTP_EXCLUDE_THEME_OFFICE2000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; XTP_EXCLUDE_THEME_OFFICEXP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; XTP_EXCLUDE_THEME_OFFICE2003&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; XTP_EXCLUDE_THEME_NATIVEWINDOWS&nbsp;&nbsp;&nbsp; | <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; XTP_EXCLUDE_THEME_CUSTOM);<br><br>&nbsp;&nbsp;&nbsp; // set startup theme<br>&nbsp;&nbsp;&nbsp; dlg.SetTheme(<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; xtpThemeDlgOffice2016,<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; xtpThemeColor2016Colorful,<br>#ifdef _XTP_INCLUDE_RIBBON<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; xtpThemeAccentWord,<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; xtpThemeRibbonBackCircuit);<br>#else<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; xtpThemeAccentWord);<br>#endif<br><br>&nbsp;&nbsp;&nbsp; dlg.DoModal();</div><div><br></div><div>In OnInitDialog I also added a call to EnableAutoPreview(TRUE);</div><div><br></div><div>The result is the same as I see with our application. If you make changes to the style, the application jumps on top of the dialog. Bitten by the shadow code once again. Float the "Styles" docking pane and I see it too disappears behind the application window.</div><div><br></div><div>As we have had issues before with shadows, I had looked at this ribbonsample code and fashioned our sequence of calls to manipulate the theme the same way the sample did. So we first call the ribbon bar EnableFrameTheme(FALSE) and then call it again later with TRUE (for our app it is always enabled). Now I find that I need to skip the first call to set FALSE. I can do that in our app and the sample and the windows remain as they should. I have a long comment in our code outlining all the issues making these calls "fixed". So I have to start testing what will break if I make this change to work around yet another shadow problem.<br></div>]]>
   </description>
   <pubDate>Mon, 01 Apr 2019 11:01:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23835&amp;PID=77293&amp;title=shadow-causes-windows-to-disappear#77293</guid>
  </item> 
  <item>
   <title><![CDATA[shadow causes windows to disappear : We have a modal dialog that lets...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23835&amp;PID=77292&amp;title=shadow-causes-windows-to-disappear#77292</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3213">rdhd</a><br /><strong>Subject:</strong> 23835<br /><strong>Posted:</strong> 01 April 2019 at 10:06am<br /><br /><div>We have a modal dialog that lets the user change themes. When we use an office 2013 theme such as white or dark grey, if the frame is not maximized, the frame window updates over the top of the modal dialog. This occurs when CXTPFrameShadowManager::EnableShadow is called. The call to pShadow-&gt;Create is what causes this to occur. The modal dialog isn't the only window in our application that is affected. Floating docking panes also disappear behind the application window.</div><div><br></div><div>We are on version 18.5.<br></div>]]>
   </description>
   <pubDate>Mon, 01 Apr 2019 10:06:53 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23835&amp;PID=77292&amp;title=shadow-causes-windows-to-disappear#77292</guid>
  </item> 
 </channel>
</rss>