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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
unable to delete all specified values regedit 38 383
How to determine file rename from EventLog ? 2 49
while loop over for loop 7 101
no14 challenge 14 66
Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
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.
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…

815 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