|
by: Jake |
last post by:
I'm having a problem with the ContextMenuStrip object when using it on a
NotifyIcon while the taskbar is at the top of the screen.
Problem:
The context menu will draw above the top of the screen. This makes it so you
cannot see/select any options except for maybe the last one.
Steps to reproduce:
1) Start a new C# 2.0 Windows Application.
2) Place a ContextMenuStrip onto the form and add a few items to it.
|
by: Ron M. Newman |
last post by:
I have a context menu strip. I can Add elements to its "Items", but there is
nothing in there to add a sub context menu strip.
Menu
Item 1
Item 2
Sub Item 1 <-- impossible to add!
How do I achieve that? There seems no API's to do that and the internet is
simply "empty" when it comes to that. All newsgroups questions are
|
by: Dave |
last post by:
How do I get my ContextMenuStrip to receive key down preview events? I have
the event hooked but I don't see the key strokes in the event?
Dave
|
by: =?Utf-8?B?cHJvZ2dlcg==?= |
last post by:
I've written an application that can minimize to the tray and can reappear if
you double click on the icon in the tray (ShowInTaskbar is set to false).
I've also created a ContextMenuStrip (Visual C# 2005) so that you can write
click on the icon in the tray for options. I then captured the event for
mouse clicks on the Notify Icon so that I could detect the left click event
and then display the contextmenustrip using either:...
|
by: active |
last post by:
For the last 3 or 4 days I've been, on an off, searching the Internet and
theVS2005 Doc for an example of how to add a contextmenustrip to a
menustrip. I can move all the items from a contentmenustrip to a menustrip,
but what I need to do is have the items in both places.
I did see where it was said that a contexmenu can be used in multiple
places. But I wonder if that means that multiple controls can reference the
same contextmenustrip....
|
|
by: =?Utf-8?B?QnJhZA==?= |
last post by:
i have a menu system that is generated dynamically
everything works good except for one minor astetic....
I click on a menu item that displays a ContextMenuStrip Popup Menu
If an item on that ContextMenuStrip calls another ContextMenuStrip, i want
the original ContextMenuStrip to stay visible until a choice is made on the
second ContextMenuStrip.
|
by: =?Utf-8?B?TGVudXNpYQ==?= |
last post by:
In my program I dynamically create treeViews and dynamically add nodes to them.
To each node I attach ContextMenuStrip which suppose allow delete selected
node
e.t.c.
How from inside click event handling function to find which node was selected?
sender is set to ToolStripItem clicked.
|
by: =?Utf-8?B?Z2luYWNyZXNzZQ==?= |
last post by:
Hi,
I have a form (Form1) with a ContextMenuStrip (ContextMenuStrip1). If I
pass Form1 to a Utility Sub with the following code:
Public Sub Utility(theForm as Object)
with theForm
For Each MenuItem As ToolStripMenuItem In .ContextMenuStrip1.Items
If LCase(Strings.Left(MenuItem.Name, 8)) = LCase("tsmAudit") Then
MenuItem.Enabled = False
End If
|
by: eBob.com |
last post by:
I've been working on an app which has an array of RichTextBoxes. And I have
a context menu for the RTBs. The context menu has two levels; the first
level has two items, "Load Sample Text File" and "Insert Row >"; the "Insert
Row >" item on the first level invokes, if that's the right word, a second
level which has two items, "Above" and "Below". This all worked when it was
a ContextMenu. But I am trying to change it to use the new menu...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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...
|
|
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...
|
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...
|
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...
|
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...
|
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 into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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...
|
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|