Solved

WTL, MDI and Toolbars

Posted on 2002-04-04
2
381 Views
Last Modified: 2013-12-04
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
Comment
Question by:mridey
2 Comments
 
LVL 23

Accepted Solution

by:
Roshan Davis earned 100 total points
Comment Utility
For that u should map the Toolbar IDs with View or childframe.

GOOD LUCK
0
 

Author Comment

by:mridey
Comment Utility
can you explain a bit more.

Thanks
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

This article shows a few slightly more advanced techniques for Windows 7 gadget programming, including how to save and restore user settings for your gadget and how to populate the "details" panel that is displayed in the Windows 7 gadget gallery.  …
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now