473,473 Members | 4,185 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

popupmenu customisation


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
2 2136
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Bob Kochem | last post by:
By default, right-clicking the TextBox control launches a standard "edit" pop-up menu. Microsoft provides a work-around for the case where you want to launch a different pop-up menu; ...
0
by: Jasim | last post by:
hi guys, i have a problem with context menu's. actually what i'm trying to do is to call the same function with the parent item when clicked as well as sub items. it works for sub menu item but...
5
by: J | last post by:
Hi, I'm using the following code snippet to show popup menus (in a header frame) and target the menu options to another frame. This works fine for a single hard-coded frame (e.g. "2" below, in...
1
by: Ersin Gençtürk | last post by:
hi , I need to customize <input type=file , tag. I find a way to do that : on the client side by javascript and css first , I am hiding the fileupload object , then I am calling the click...
2
by: amfony | last post by:
Hey everyone, Im sure that this will seriously be easy for one of you guys, but i am just no good with javascript (and more to the point the node hierarchy of html/xml) Here is a javascript...
0
devonknows
by: devonknows | last post by:
Afternoon all, i was wondering if you could help me with a slight problem, well not so much of a problem an annoyance, i have a listbox control, now its populated heavily with all sorts of data from...
0
by: sathiyamurthy | last post by:
hello, i need some tips in vc++ GUI development... in this i want control listctrl content usong popup menu... if any one know this replay me as soon as possible thanks regards ...
2
by: Stuart Ferguson | last post by:
I am using a GridView control with auto paging in a web application I am currently developing and was looking to customise the pager. I need to make the overall page numbers larger and also change...
1
by: manishpandey2009 | last post by:
Hi, In VB6 I used to call this to popup a menu: PopupMenu mnuFile how do I do it in vb.net ? please send me small example
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.