473,320 Members | 1,732 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Setting state of menu-items ?

Hi,

In .NET , when working with menus handlers :
Is there an equivalent of an in MFC used event : UPDATE_COMMAND_UI ?

For those not familiar with the name UPDATE_COMMAND_UI :
it is an event that is fired when one clicks on a topmenu-item (not a
childmenu-item)
(example of a topmenu-item : 'Edit ' and childmenu-item would then be
'Paste' or 'Copy')

This event is called as many times as there are childmenu-items in the
top-menu and thus enabling you to set the state of each individual
childmenu-item (enabled, checked,...) BEFORE the dropdown-menu is shown.

Anybody knows ?
Thnx

Christian
Nov 20 '05 #1
1 845
Hi,

http://msdn.microsoft.com/library/de...popuptopic.asp

Ken
-------------------------------
"Chris" <ch********@pandora.be> wrote in message
news:9d*********************@phobos.telenet-ops.be...
Hi,

In .NET , when working with menus handlers :
Is there an equivalent of an in MFC used event : UPDATE_COMMAND_UI ?

For those not familiar with the name UPDATE_COMMAND_UI :
it is an event that is fired when one clicks on a topmenu-item (not a
childmenu-item)
(example of a topmenu-item : 'Edit ' and childmenu-item would then be
'Paste' or 'Copy')

This event is called as many times as there are childmenu-items in the
top-menu and thus enabling you to set the state of each individual
childmenu-item (enabled, checked,...) BEFORE the dropdown-menu is shown.

Anybody knows ?
Thnx

Christian

Nov 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Askari | last post by:
Hi, How do for do a "select()" on a CheckButton in a menu (make with add_checkbutton(....) )? I can modify title, state, etc but not the "check state". :-( Askari
3
by: Matt Garman | last post by:
I'm working on a curses-based application in Python. I've implemented what I call a "Chooser" (a fancy name for a menu): ---> 1. Choice 1 <--- 2. Choice 2 3. Choice 3 So the user can use...
6
by: Karl | last post by:
This might not really be a javascript question, but I'll start with this group. At http://www.gazingus.org/ there is a very nice collapsible menu written using CSS and Javascript >>>> Using...
0
by: Phillip N Rounds | last post by:
I have a web app that I am having state management issues with. I have a frames page, with one frame containing a JavaScript menu, the second frame containing a data entry screen in ASP.NET The...
7
by: Andrew Robinson | last post by:
I have a treeview control that I use as a menu & navigation control within a master page. The nodes for this control are loaded from a database which contains the text and url of each like and the...
4
by: Sam | last post by:
I have an asp.net 2.0 app that uses a sitemap, Master Page, and has several content pages. While this feature has simplified the process of creating a data-driven site menu, it does seem to have...
1
by: empire5 | last post by:
Menu: foo bar foo1 bar1 foo2 bar2 foo3 bar3 When the mouse is over foo2 I want foo2 to be green. When the mouse is over bar2 I want bar2 it to...
5
by: Bubba | last post by:
I have a dynamic pulldown list (ASP with javascript) that when a user picks a state, the corresponding counties for that state appear in a dynamic second pulldown list. When I submit the form, the...
0
by: stuie_norris | last post by:
Hi I am trying to change the debugger setting on my version of Visual Studio 2005 Professional. Unfortunately I do not have the Execptions menu item under the Debug menu. Is there a...
8
by: Andrus | last post by:
..NET 2 Winforms application. How to create new setting and set it default value in userSettings section of app.config file or overwrite existing setting value ? I found code below in this list...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.