Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 406
  • Last Modified:

WTL, MDI and Toolbars

Using the Windows Template Library wizard, I get a a CommandBar and a ToolBar for an MDI application. The CommandBar changes automatically depending on which MDI Child has the focus. How do I get the toolbar to do the same? e.g. if I create multiple toolbars, where should I be placing code to switch between the different toolbars? or I can use a single toolbar and automatically hide/show buttons ?

Thanks
0
mridey
Asked:
mridey
1 Solution
 
Roshan DavisCommented:
For that u should map the Toolbar IDs with View or childframe.

GOOD LUCK
0
 
mrideyAuthor Commented:
can you explain a bit more.

Thanks
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now