473,585 Members | 2,657 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

vb.net context menu not rendering correctly?

5 New Member
WHen creating menus, including the context menu, there is a blank 'entry' at the bottom of the menu where you can insert new menu items. When running the application, normal menus display correctly, but the context menu always has a blank area the size of a blank entry at the bottom of the menu - regardless of what height I give the menu.

Anyone know how to get rid of this blank entry?
Jul 26 '07 #1
0 1131

Sign in to post your reply or Sign up for a free account.

Similar topics

3
4763
by: Eddie de Bear | last post by:
Hi, A project I am working on has a requirement for dynamic menus. For the most part this works really well. The menus I'm creating a based on files and directories, so naturally the menu creation takes some time. The approach I took was to override the OnSelect method of the MenuItem class, which had code to populate the
1
3567
by: Abhi | last post by:
I've created a class "MRP123MenuItem" derived from inbuilt MenuItem class to give customized look and feel to the user. I've created context menus for different controls using mine MRP123MenuItem's and it all works fine except for ComboBox control. It only displays a strip of context menus without any content. I'm unable to understand why it...
0
1498
by: Derrick | last post by:
Hello all; I seem to have encountered a strange problem. I have a context menu attached to a system tray icon (NotifyIcon) of a Windows App. Based on user actions, I want to change the text of one of the menu items. Sounds easy enough. When I step through in the debugger, the .Text property of the menu item has changed correctly (even...
1
2709
by: Chris Murphy via DotNetMonster.com | last post by:
Hi all, I'm just wondering if any one can help me with this development issue I'm having. I've created a customized treeview control to handle the particular tasks to which I'll be using it. Within the control I'm dynamically creating a context menu and assigning it to the ContextMenu property of the control -- think of this like the default...
2
1807
by: Doug Bell | last post by:
Hi, I would like to add a Menu Item to the Explorer Context Menu so that when the User Right Clicks on a File, they are given a choice to launch my application with the selected file passed as a command line argument. Can someone point me to some information on how to set that up? Hopefully as part of the installation? Thanks
1
2365
by: JJ | last post by:
I'm trying to create the cut/paste/select all context menu on number of richtextboxes. On the contextmenu.popup handler, I want to find out what control is currently displaying the context menu. I thought I could use: Private Sub KL_ClipboardContMenu_Popup(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles...
3
1354
by: SteMc | last post by:
I've got the axWebBrowser in my program and I wish to add a context menu. When the program runs there is a default context menu, but I don't want this. I either want to change the existing context menu or create my own, but I don't know how. I've looked in the properties for the broswer, but there doesn't seem an option for context menu :(...
2
1424
by: Paul E Collins | last post by:
A context menu is created in the scope of the RightClick event, but it continues to be displayed after that event handler terminates - i.e. after it has gone out of scope. The code works correctly, but I feel a bit odd about it. Is there anything to watch out for here? By the way, the reason I'm creating the menu dynamically every time is...
3
2194
by: =?ISO-8859-1?Q?Jo=E3o_Maia?= | last post by:
Hi there, I am having a weird problem in trying to use a ASP.NET menu inside a custom web part. I am developing a custom web part that has a menu inside (just the menu, nothing else). The menu is a System.Web.UI.WebControls.Menu (ASP.NET 2.0) object. If I add the menu to a simple ASPX web form, it works nice. However, I am adding it to my...
0
7908
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...
0
8199
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. ...
1
7950
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8212
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...
0
6606
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...
0
5389
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3863
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2343
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
1
1447
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.