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
  • 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.


LVL 22

Expert Comment

ID: 17994577

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Add content to output file 4 62
unable to delete all specified values regedit 38 273
windows 10 how make picture as desktop background 2 58
canBalance challenge 34 69
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
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.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

914 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

19 Experts available now in Live!

Get 1:1 Help Now