Create submenu in context menu
Is it possible to create submenu in context menu (right click menu) in Adobe Flex? Menu1 > - Menu1.1 - Menu1.2 Menu2 > - Menu2.1 - Menu2.2 - Menu2.3 ...
Is it possible to create submenu in context menu (right click menu) in Adobe Flex? Menu1 > - Menu1.1 - Menu1.2 Menu2 > - Menu2.1 - Menu2.2 - Menu2.3 ...
I need to set the menu help text of my shell context menu popup menu item just like winzip shellContext menu. I tried IContextMenu_GetCommandString but it is only setting menu help for sub menus of my main popup menu. Please help me and let me know how to set the menu help for my main poup menu? Thanks ...
Hey guys, I need to create a custom menu item for Visual Studio 2010 Add-in in C#, but I have had no luck in finding a solution for my needs. I am aware that there was a similar post (Visual Studio Add-In - adding a context menu item to solution-explorer), but it did not help, as the blog follows the process through the integration pack...
When I am editing a Word document in an OleContainer (inplace) and I switch to another Word document and then I switch back, I cannot use my rightmouse button anymore. The context menu will not show up. This happens on Word 2000, not on Word 2007 (I don't know about other versions). How can I get rid of this behaviour? How to reproduc...
I have a ListView where each item is a TextView. I want to enable the long press behavior similar to an EditText that displays the default context menu with items like "Select all", "Cut all", "Copy all", etc. Is there an easy way to enable this for a TextView? ...
I've given my WPF ListView a context menu: <TreeView ContextMenuOpening="TreeView_ContextMenuOpening"> <TreeView.ContextMenu> <ContextMenu> <MenuItem Name="NewInputMenuItem" Header="Add" Click="AddInputMenuItem_Click" /> <MenuItem Name="RemoveInputMenuItem" Header="Remove" Click="RemoveInputMenuItem_C...
document.addEventListener('contextmenu', function (e) { e.preventDefault() e.stopPropagation() e.returnValue = false e.cancleBubble = true }) No way? Edit: document.oncontextmenu = null does not work. P.S. I cannot have the reference of the listener function since I am not the owner of the site preventing the context ...
I'm in the process of porting a Windows application to OS X (we wrote it in Java so most of the code is portable), but what I'm currently unsure of is how to add context menu items in the Finder window when the user right clicks on an item (i.e. I wish to add some items to the the menu that has "Open" "Open with" , "Get Info", etc... wh...
I want to create a context menu that support multiple files. I read through SO and understand that either you must use DDE or shell extension (something to do with creating and registering COM object). However all the sourcecodes I found are in C#. I then decided to go with COM object. I found 1 in C++ that uses COM but it's dated 2006...
I am setting context menu on a wpf window which is set to be bottom most. The issue is when I open Contextmenu the window lose its bottom most position and come on top of other windows. Is there are way to open a context menu but keep window bottom most. ...
Everything in the code below works except for the binding on the ContextMenu. This is evidently due to the fact that the ContextMenu is located inside of a Style, which puts it in a different namescope from the rest of the xaml. I am looking for a solution where I won't have to instantiate a ContextMenu in the code-behind, since the ap...
Hi, I'm trying to pass the item on XamDataGrid on which I do a mouse right click to open a ContextMenu, which raises a Command in my ViewModel. Somehow the method that the Command calls is not reachable in debug mode. This is the snipped from the view <ig:XamDataGrid DataSource="{Binding DrdResults}" Height="700" Width="600"> ...
In my application I subclass QGraphicsWidget In paint I am drawing a line with pen width 4. I reimplemented boundingRect() and shape(). But I can't catch context menu event every time I click right mouse button. What is the problem.(Pen Width ? ) //Sample code for boundingRect() and shape() QRectF boundingRect() const { qreal r...
I've already figured out how to add a menu item to the right click context menu of the windows explorer using the registry. I currently have it set to launch my application when my menu item is clicked. However, I want to know if there is a way to know what file is was right clicked on. I thought it would have been sent as a command li...
Hello, how to set and get the colors value to text and/or Background of an item in a context menu strip based on the value? is this code right way? ContextMenuStrip1.Items.Add("this is an item").BackColor = Color.FromArgb(255, 179, 179); but I can not find out a way to get the color value! I did this: int i = ContextMenuStrip1.Ite...
I have a Windows context menu item invoking a Windows Form via these registry keys... HKLM\Software\Classes\*\shell\myappname HKLM\Software\Classes\*\shell\myappname\command But when my Windows Form is started, I want it to be located near where the context menu was invoked. Is there any way to do that? I think I need to get the coo...
I have a tricky problem where I am binding a ContextMenu to a set of ICommand-derived objects, and setting the Command and CommandParameter properties on each MenuItem via a style: <ContextMenu ItemsSource="{Binding Source={x:Static OrangeNote:Note.MultiCommands}}"> <ContextMenu.Resources> <Style TargetType="...
Is there a way to add custom fields to the built in browser context menu using Javascript? I know flash/actionscript can do this, how are they doing it? Example: right click on http://josephjewell.com and see the custom context menu. Is this possible with pure javascript or do you have to use flash? Note, I'm looking for adding to th...
Hello, I have few columns in my DataGridView, and there is data in my rows, I saw few solutions in here, but I can not combine them! simply a way to right-click on a row, it will select the whole row and show a menu with an option to delete the row and when the option selected it will delete the row I made few attempts but none is wo...
I have a ContextMenu and a ColumnHeaderStyle defined in Window.Resource section witch i use-it to a DataGrid ColumnHeader. My code is something like this: <ContextMenu x:Key="cm_columnHeaderMenu"/> <Style x:Key="DefaultColumnHeaderStyle" TargetType="{x:Type DataGridColumnHeader}"> <Setter Property="ContextMenu" Value="{StaticResour...