<?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 : Themes prevent Windows hook from being called</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Themes prevent Windows hook from being called]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 07:40:34 +0000</pubDate>
  <lastBuildDate>Tue, 22 Nov 2016 23:21:09 +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=23188</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[Themes prevent Windows hook from being called : Hi, it can be a conflict with...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23188&amp;PID=75367&amp;title=themes-prevent-windows-hook-from-being-called#75367</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8199">astoyan</a><br /><strong>Subject:</strong> 23188<br /><strong>Posted:</strong> 22 November 2016 at 11:21pm<br /><br />Hi, it can be a conflict with frame shadow, please try to call XTPFrameShadowManager()-&gt;SetFlags(xtpFrameShadowsDisabled) before any window is created and see if it helps. If it does work then you can use this as a temporary workaround while the actual fix is added.<div><br></div><div>Thank you.</div><div>Regards,</div><div>&nbsp; &nbsp;Alexander</div>]]>
   </description>
   <pubDate>Tue, 22 Nov 2016 23:21:09 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23188&amp;PID=75367&amp;title=themes-prevent-windows-hook-from-being-called#75367</guid>
  </item> 
  <item>
   <title><![CDATA[Themes prevent Windows hook from being called : Hi,We&amp;#039;re currently facing...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23188&amp;PID=75286&amp;title=themes-prevent-windows-hook-from-being-called#75286</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=9084">BK_</a><br /><strong>Subject:</strong> 23188<br /><strong>Posted:</strong> 07 November 2016 at 4:06am<br /><br />Hi,<br><br>We're currently facing an issue using the Codejock CommandBars (v17.2.0) with any of the Office2013 or VS2015 themes. <br><br>As soon as we enable one of those themes, a Windows Hook in our application of type <!--if gte mso 9> <w:Word>  <w:View>Normal</w:View>  <w:Zoom>0</w:Zoom>  <w:TrackMoves/>  <w:Trackatting/>  <w:Hyphenati&#111;nZ&#111;ne>21</w:Hyphenati&#111;nZ&#111;ne>  <w:Punctuati&#111;nKerning/>  <w:ValidateAgainstSchemas/>  <w:SaveIfInvalid>false</w:SaveIfInvalid>  <w:IgnoreMixed>false</w:IgnoreMixed>  <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>  <w:D&#111;notPromoteQF/>  <w:LidThemeOther>DE</w:LidThemeOther>  <w:LidThemeAsian>X-NONE</w:LidThemeAsian>  <w:LidThemeComplex>X-NONE</w:LidThemeComplex>  <w:Compatibility>   <w:BreakWrappedTables/>   <w:SnapToGridInCell/>   <w:WrapTextWithPunct/>   <w:UseAsianBreakRules/>   <w:D&#111;ntGrowAutofit/>   <w:SplitPgBreakAndark/>   <w:EnableKerning/>   <w:D&#111;ntFlipMirrorIndents/>   <w:OverrideTableStyleHps/>  </w:Compatibility>  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>  <m:mathPr>   <m:mathFont m:val="Cambria Math"/>   <m:brkBin m:val="before"/>   <m:brkBinSub m:val="&amp;#45;-"/>   <m:smallFrac m:val="off"/>   <m:dispDef/>   <m:lMargin m:val="0"/>   <m:rMargin m:val="0"/>   <m:defJc m:val="centerGroup"/>   <m:wrapIndent m:val="1440"/>   <m:intLim m:val="subSup"/>   <m:naryLim m:val="undOvr"/>  </m:mathPr></w:Word><!--><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;  mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-bidi-font-family:  &quot;Times New Roman&quot;;mso-ansi-:DE;mso-fareast-:EN-US;mso-bidi-:  AR-SA"><a href="https://msdn.microsoft.com/en-us/library/windows/desktop/ms644959%28v=vs.85%29.aspx#wh_callwndproc_wh_callwndprocret" target="_blank" rel="nofollow"><span style="mso-ansi-:EN-US" lang="EN-US">WH_CALLWNDPROCRET</span></a> is not called any more. It seems the commandBars filter that method? The issue occurs after calling the following methods:</span><span style="font-size:10.0pt;font-family:C&#111;nsolas;  mso-ansi-:EN-US" lang="EN-US"><br><br>CommandBars.EnableOffice2007Frame(false);</span><span style="font-size:10.0pt;font-family:C&#111;nsolas;  mso-ansi-:EN-US" lang="EN-US"><br>CommandBars.AllowFrameTransparency(false);</span><span style="font-size:10.0pt;font-family:C&#111;nsolas;  mso-ansi-:EN-US" lang="EN-US"></span><span style="font-size:10.0pt;font-family:C&#111;nsolas;  mso-ansi-:EN-US" lang="EN-US"><br>CommandBars.EnableOffice2007Frame(true);<br><br></span><span style="font-size:10.0pt;font-family:C&#111;nsolas;  mso-ansi-:EN-US" lang="EN-US"></span><p ="Ms&#111;normal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;  mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-bidi-font-family:  &quot;Times New Roman&quot;;mso-ansi-:DE;mso-fareast-:EN-US;mso-bidi-:  AR-SA">After switching back to another theme, it works fine again. This issue can be reproduced in the RibbonSample solution aswell.</span></p><p ="Ms&#111;normal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;  mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-bidi-font-family:  &quot;Times New Roman&quot;;mso-ansi-:DE;mso-fareast-:EN-US;mso-bidi-:  AR-SA"></span>Does anyone have a solution or hint for this? <br>Thank you!</p>]]>
   </description>
   <pubDate>Mon, 07 Nov 2016 04:06:46 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23188&amp;PID=75286&amp;title=themes-prevent-windows-hook-from-being-called#75286</guid>
  </item> 
 </channel>
</rss>