Themes prevent Windows hook from being called |
Post Reply |
Author | |
BK_
Newbie Joined: 05 October 2016 Status: Offline Points: 2 |
Post Options
Thanks(0)
Posted: 07 November 2016 at 4:06am |
Hi,
We're currently facing an issue using the Codejock CommandBars (v17.2.0) with any of the Office2013 or VS2015 themes. As soon as we enable one of those themes, a Windows Hook in our application of type WH_CALLWNDPROCRET is not called any more. It seems the commandBars filter that method? The issue occurs after calling the following methods: CommandBars.EnableOffice2007Frame(false); CommandBars.AllowFrameTransparency(false); CommandBars.EnableOffice2007Frame(true); After switching back to another theme, it works fine again. This issue can be reproduced in the RibbonSample solution aswell. Does anyone have a solution or hint for this? |
|
astoyan
Admin Group Joined: 24 August 2013 Status: Offline Points: 303 |
Post Options
Thanks(0)
|
Hi, it can be a conflict with frame shadow, please try to call XTPFrameShadowManager()->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.
Thank you. Regards, Alexander
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |