Solved

Coolbar or CRebar with CMenu

Posted on 2006-11-22
5
474 Views
Last Modified: 2013-11-20
Hi.  

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!  

Thanks

Will
0
Comment
Question by:wdhough
  • 3
  • 2
5 Comments
 
LVL 22

Accepted Solution

by:
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 : http://www.codeguru.com/cpp/controls/toolbar/article.php/c5487/

-MAHESH
0
 

Author Comment

by:wdhough
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 VS2003.net will I be able to use this library and if so how?

Thanks

Will
0
 

Author Comment

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

Author Comment

by:wdhough
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.

Thanks

Will
0
 
LVL 22

Expert Comment

by:mahesh1402
ID: 17994577
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

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. …
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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 demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

707 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

13 Experts available now in Live!

Get 1:1 Help Now