Solved

Place a ToolBar control in a DialogBar?

Posted on 1998-04-30
2
270 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
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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

zlib is a free compression library (a DLL) on which the popular gzip utility is built.  In this article, we'll see how to use the zlib functions to compress and decompress data in memory; that is, without needing to use a temporary file.  We'll be c…
What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it. My software Visual Studio 2008 crystal report v11 My issue was I wanted to add crystal report to a form and show…
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…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

829 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