Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Mini-toolbar bug
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Mini-toolbar bug

 Post Reply Post Reply
Author
Message
Fredrik View Drop Down
Senior Member
Senior Member


Joined: 22 June 2005
Status: Offline
Points: 235
Post Options Post Options   Thanks (0) Thanks(0)   Quote Fredrik Quote  Post ReplyReply Direct Link To This Post Topic: Mini-toolbar bug
    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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.188 seconds.