?
Solved

Ctreel control Right click menu

Posted on 2003-11-19
4
Medium Priority
?
356 Views
Last Modified: 2010-04-17
hi,
   has anyone example of a TreeCtrl  having functionality of right click menu, how do i do that. and also is it possilbe to inset menu on a dialogbox . all this in should be MFC.
kiran
0
Comment
Question by:kirannapit
[X]
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
4 Comments
 
LVL 1

Accepted Solution

by:
gabbitaravi earned 300 total points
ID: 9786400
Hi,
Place a TreeviewCntl from MFC dialog based window  and add events by using Class Wizard select the NM_RClick event handler. The wizard adds prototype. Add the required code and run the application.

It is definately possible to add a menu to dialog box.

Select insert Menu option and select Resource optioin. It opens a menu wizard, Right click on the highlited area and add menu name also check whether it is a popup / normal menu then frame your menu and save it.
Go to the dialog resource and right click and select properties option. Here give the menu name in the combobox. which binds the user created menu to the dialog resource.

With warm regards,
ravi kiran gabbita
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
What do responsible coders do? They don't take detrimental shortcuts. They do take reasonable security precautions, create important automation, implement sufficient logging, fix things they break, and care about users.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Simple Linear Regression
Suggested Courses

801 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