By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,952 Members | 1,726 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,952 IT Pros & Developers. It's quick & easy.

popupmenu customisation

P: n/a

hi

I have an MFC application where there are many CEdit controls in a
dialog. By default when I right click on an edit box a popup menu
appears with the menu items "Cut", "Copy", "Redo" etc.
But I do not want to show all the menu items. How can I remove some of
these menu items?

I know that somehow if I get CMenu* of this popup menu, then rest is
easier.

In brief what is the API to get application's edit menu? like
GetSystemMenu() for system menu.
thanks in advance.

bisuvius

Jun 17 '07 #1
Share this Question
Share on Google+
2 Replies


P: n/a
bisuvious wrote:
hi

I have an MFC application where there are many CEdit controls in a
dialog. By default when I right click on an edit box a popup menu
appears with the menu items "Cut", "Copy", "Redo" etc.
But I do not want to show all the menu items. How can I remove some of
these menu items?

I know that somehow if I get CMenu* of this popup menu, then rest is
easier.

In brief what is the API to get application's edit menu? like
GetSystemMenu() for system menu.
thanks in advance.

bisuvius
You need a Windows programming group (or an MFC group). This is a C++
group, and there is no C++ content in your question, just a query about
a third party library. Try comp.os.ms-windows.programmer.win32 for instance.

john
Jun 17 '07 #2

P: n/a
On Jun 17, 3:58 pm, John Harrison <john_androni...@hotmail.comwrote:
bisuvious wrote:
hi
I have an MFC application where there are many CEdit controls in a
dialog. By default when I right click on an edit box a popupmenu
appears with themenuitems "Cut", "Copy", "Redo" etc.
But I do not want to show all themenuitems. How can I remove some of
thesemenuitems?
I know that somehow if I get CMenu* of this popupmenu, then rest is
easier.
In brief what is the API to get application's editmenu? like
GetSystemMenu() for systemmenu.
thanks in advance.
bisuvius

You need a Windows programming group (or an MFC group). This is a C++
group, and there is no C++ content in your question, just a query about
a third party library. Try comp.os.ms-windows.programmer.win32 for instance.

john

hi John

yes you are right. I already posted this message to mfc group.
thanks

bisuvius

Jun 17 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.