Print Page | Close Window

Mini-toolbar bug

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=18661
Printed Date: 16 July 2025 at 11:59pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Mini-toolbar bug
Posted By: Fredrik
Subject: Mini-toolbar bug
Date Posted: 14 July 2011 at 5:53am
Just a bug, not sure if I should post it here or send an mail to support: 

I noticed that  the distance between the mini-toolbar and popup window is incorrectly calculated  if the popup window contains menu items that hide themselves in enablers and you open the popup window (right-click) close to the bottom of the screen.

To reproduce, use the RibbonSample, add a bunch of menu items in  the menu IDR_MENU_CONTEXT and use enablers in RibbonSampleView to hide them using SetVisible(false). Then right-click somewhere close to the bottom of the screen on the view. Using the RibbonSample, I can only reproduce it on the first click, not on subsequent right-clicks. (In my own application this gap is huge and appears all the time.  I have a mix of controls that rebuild themselves in OnCalcDynamicSize() and controls that I hide in enablers.)

Are there any workarounds for this problem?




-------------
Windows 10, Visual Studio 20157, Toolkit Pro 18.3.0



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net