Coolbar or CRebar with CMenu

Posted on 2006-11-22
Last Modified: 2013-11-20

I am trying to add a CMenu to a CRebar or CRebarCtrl.  Do you know how, i am sure i did it a long time ago but i have forgotten!  


Question by:wdhough
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
  • 3
  • 2
LVL 22

Accepted Solution

mahesh1402 earned 125 total points
ID: 17994219
Look here at CMenuBar :A toolbar that looks and acts exactly like a menu bar. It can be placed in a rebar control just like in Internet Explorer. It also draws icons next to menu items :


Author Comment

ID: 17994409
Thanks for that,  Whilst I have you here in looking for this solution i came across the Windows Template Library or WTL.  I have never really heard of this before but it sounds good.  I am using VC++ unmanaged code in will I be able to use this library and if so how?



Author Comment

ID: 17994428
Sorry i should also mention that the exectuables and active X controls i am responsible for use MFC

Author Comment

ID: 17994519
Sorry RE the original post I have just read that that code only works for SDI applications.  I have an MDI application.  Any other ideas.



Featured Post

Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

Question has a verified solution.

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

This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

636 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