winmeister
asked on
Dynamic Toolbar
In my MDI Doc/View application, I need to replace at runtime the mainframe
toolbar in order to reflect the active child window.
How can I do?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I have the same problem. Specification of the resource ID when registering the template ONLY affects the menu, NOT the toolbar.
You must do a LoadToolBar in CMainFrame. However, I am experiencing a problem with this. If the new toolbar is longer than the original you will not see the buttons that extend beyond it until the Contral bar that contains it is touched or the mainframe is resized. The answer wasn't worth 5 points, it's wrong.
You must do a LoadToolBar in CMainFrame. However, I am experiencing a problem with this. If the new toolbar is longer than the original you will not see the buttons that extend beyond it until the Contral bar that contains it is touched or the mainframe is resized. The answer wasn't worth 5 points, it's wrong.
ASKER