Is there a secret to using sheet windows that have a menu with a RibbonBar control on the frame? If I remove the menu from w_sheet then I can get the windows to show but if it has a menu then the first will show and any other window will cause the whole screen to blank out.
I need the ability to run both 'Classic' version (frame menu and sheet menu) and the RibbonBar version. For the RibbonBar version I have created a custom MDI which is inherited from my base MDI. I then assigned a blank menu (ie. m_mdi_none) to the frame. I have a setting on the frame that determines what mode you are in so in the Open event of the sheet I hide the ControlMenu, ToolBar, and Menu but those settings do not seem to take effect. I need my sheet framework code so removing the menu from w_sheet is not an option.
I have attached a print screen of the first window and the second window. What am I doing wrong?
Chris
Chris Pollach is correct, “The built-in RibbonBar feature is currently designed to work without any Menu.”
To insert the RibbonBar control into the MDI window, please note that you must resize the width and height for the RibbonBar area in correspondence with the MDI client area to make sure the RibbonBar fits well in the MDI window.
You can refer to the following link for detail.
https://docs.appeon.com/pb2019r2/pbug/ch13s04.html#d0e23380
You can refer to the link below for other Ribbonbar notes:
https://docs.appeon.com/pb2019r2/pbug/ch13s04.html#_Important_notes
For your issue, it seems that you haven’t resized the width and height for the RibbonBar area in correspondence with the MDI client area in the second window.
Best regards,
So are you saying there is no way for me to keep the menu assigned to w_sheet and use the ribbonbar? I would have thought I could keep it assigned but have the menu hidden.
I have read all the documents but they all refer to removing the controls from w_sheet - which is what I cannot do. I need to be able to do it through PowerScript.
Chris Craft