Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Coolbar or CRebar with CMenu

Posted on 2006-11-22
Medium Priority
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 500 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

Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
Ready to get certified? Check out some courses that help you prepare for third-party exams.
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.
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

661 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