• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 416
  • 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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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