473,804 Members | 2,136 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

pmw MenuBar: delete all menu items of a menu

Hello,

I have a cascade menu all of whose items I want to delete. It's natural to
pick up deletemenuitems (menuname, start, end). But what would the 'end' be?
Is there a list of menu items accessible somewhere so that I can get its
size?

Thanks,

Tina

-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
Jul 18 '05 #1
0 1154

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

Similar topics

2
5983
by: Itay L. | last post by:
Dear all, I am trying to figure out how to change the background color of my menubar under Windows. I've tried the following: from Tkinter import * root = Tk()
1
8111
by: Bill Short | last post by:
Hello World, I have a form with two custom menubars. One is for when a certain person logs in and the other is for all other users. To get these to only come up when they are supposed to I added this line to the OnOpen Event: CommandBars("Supervisor Menubar").Visible = False CommandBars("All Others Menubar").Visible = True Since I put in this code it brings up the correct menubar but now it
1
1613
by: Vegard Villmones | last post by:
Hi I have this program (msaccess04) where I want to disable the menubar when the license key is not correct. I.e I want to gray out all the items in the menu, it would look better than not showing the menu at all, which is what I do now. So I'm looking for some kind of property like me.menubar.grayout = true ? :)
1
1566
by: Richard Hollenbeck | last post by:
I'm building custom menubars for my application--a different one for each form. When I right-click on a menubar and select Customize and click on the toolbars tab, the menubar called "Menu Bar" can sometimes be unchecked and other times it can't. I'm wondering what determines when and why it sometimes prevents me from unchecking it. In my main form, the "Menu Bar" is unchecked but my custom menubar is checked. I also have my main form's...
1
3479
by: Sujith Manuel | last post by:
Hi All, How is it possible to change the color of Menubar in Windows Form. I was able to do this for Menu items by using the property "OwnerDraw" and providing separate drawing functions. I tried using some of the Windows APIs such as "CreateSolidBrush" and "SetMenuInfo" but it always paints black irrespective of the selected color. Any help in this regard will be really appreciated. Thanks in advance,
2
1648
by: Chris | last post by:
I am building an MDI application. I have a menuBar on the MDI-container. When I open a child form, an icon appears on the left of this menuBar. I would like this icon not to be displayed. Is there a way, programmatically (VB) to delete it? Thank you Chris
2
1473
by: A.J. Pool | last post by:
I have a form with a main menubar containing a number of menu options. In the empty right half of the menubar I want to place a combobox where users can make some sort of selection. However, when I place a combobox on the form and move it to the menu area it disappaears behind the menubar, instead of appearing in front of it. How can I place the combobox on top of (or in front of) the menubar? I use VB.NET 2003 standard edition. --...
3
1177
by: fred.dixon | last post by:
i have a simple rtfbox with a couple text boxes, i want to paste some rtf text into the rtfbox. I added a rtf box to a blank form and tested that a rtf box handles a paste automatically. it does. once i add a menu bar the rtfbox no longer accepts pasted text. it took me a bit to fgure this out. now i want to find out why and how to fix it. i would like to add a menubar.
9
2462
by: Franky | last post by:
I have a usercontrol that inherits from ComboBox I'd like to add the feature that the user can delete any item Best would be that he could right click an element and a messagebox would ask if he wanted to delete that element I can't find an event that would enable me to do that. I could copy the items into a text box, let him edit it and put them back
0
9716
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10604
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10354
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10101
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9177
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7643
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5536
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4314
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3837
muto222
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.