Solved

Place a ToolBar control in a DialogBar?

Posted on 1998-04-30
2
277 Views
Last Modified: 2013-12-03
I want to make a DialogBar with  many bitmap buttons with checked sytle.I think Toolbar can realize image buttons with checked sytle easly,so I put a ToolBar class in a CDialogBar class.But when I realize it all, I can see the image bottons(toolbar) at all!
Why?Can I put a ToolBar control in a CDialogBar?
0
Comment
Question by:lcy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 7

Accepted Solution

by:
galkin earned 100 total points
ID: 1397917
Add member variable of type CToolBar to your CDialogBar derived class. Override OnCreate message handler in CDialogBar derived class and create toolbar the same way it is created inside CMainFrame::OnCreate.
0
 
LVL 11

Expert Comment

by:mikeblas
ID: 1397918
You should use CToolBarCtrl, not CToolBar.

.B ekiM

0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

This tutorial is about how to put some of your C++ program's functionality into a standard DLL, and how to make working with the EXE and the DLL simple and seamless.   We'll be using Microsoft Visual Studio 2008 and we will cut out the noise; that i…
This article describes a technique for converting RTF (Rich Text Format) data to HTML and provides C++ source that does it all in just a few lines of code. Although RTF is coming to be considered a "legacy" format, it is still in common use... po…
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…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

689 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