Solved

Place a ToolBar control in a DialogBar?

Posted on 1998-04-30
2
259 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
Comment Utility
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
Comment Utility
You should use CToolBarCtrl, not CToolBar.

.B ekiM

0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

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…
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…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

763 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

9 Experts available now in Live!

Get 1:1 Help Now