Solved

WTL, MDI and Toolbars

Posted on 2002-04-04
2
385 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
ID: 6920264
For that u should map the Toolbar IDs with View or childframe.

GOOD LUCK
0
 

Author Comment

by:mridey
ID: 6920761
can you explain a bit more.

Thanks
0

Featured Post

ScreenConnect 6.0 Free Trial

Check out the updates in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI that improves session organization and overall user experience. See the enhancements for yourself!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

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.  …
If you have ever found yourself doing a repetitive action with the mouse and keyboard, and if you have even a little programming experience, there is a good chance that you can use a text editor to whip together a sort of macro to automate the proce…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
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…

777 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