Solved

WTL, MDI and Toolbars

Posted on 2002-04-04
2
383 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This article shows how to make a Windows 7 gadget that accepts files dropped from the Windows Explorer.  It also illustrates how to give your gadget a non-rectangular shape and how to add some nifty visual effects to text displayed in a your gadget.…
This article surveys and compares options for encoding and decoding base64 data.  It includes source code in C++ as well as examples of how to use standard Windows API functions for these tasks. We'll look at the algorithms — how encoding and decodi…
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…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

867 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

21 Experts available now in Live!

Get 1:1 Help Now