Hi, I'm trying to create a context menu that changes the available options depending on which row was clicked.
But I can't figure out how to get the row position in the listview for row that was clicked, until after the menu is created.
...
I have a application that is based out of the system tray. I have a nice context menu if you right click on it however I would like a different context menu to show up if you left click on it. Right now I make the different menu show up with
private void niTrayIcon_MouseClick(object sender, MouseEventArgs e)
{
if (e.Button == Syste...
Hi,
i'll try to create a hierachical context menu using databinding. The XAML code looks like the following:
< ContextMenu>
< MenuItem Header="MoveTo">
<MenuItem.Resources>
<!-- Display files as menu items -->
<HierarchicalDataTemplate DataTy...
Is there a way to query from qt the entries of the shell context menu (name and command)? Only if the application is run on Windows of course.
...
Hi all, I got trapped in clicking context menu item using Applescript.
Although UIElementInspector can get the hierarchies of the right click menu item, there is an error message "... Can't get menu 0 of ..." shown every time I run the Applescript.
The script would like:
tell application "Finder" to open POSIX file "/Users"
tell appli...
I have schematic product which can have many sheets, each having many graphics. And I can create PDF from this which will have a page for each sheet.
I can also have graphics in a sheet referring to another graphics in other sheets. What I need is to create hyper-links for among these.
But each graphics can link to many other graphic...
I'm working on a WPF application which has a dropdown button. When "expanded", it displays a custom UserControl inside a ContextMenu. This control includes two buttons, one for Open and one for Save. The idea is for each of these buttons to display the appropriate file dialog.
My problem is that, when the dialog is displayed, the Con...
I know this question has been asked many times in different ways in many websites and also in StackOverFlow but all the answers I found are not helping me ot to be precise I am not able to understand them and implement in my application. So I thought of putting some code from my application so that you people can help me better.
Problem...
Hey guys,
I just installed jQuery UI and got its selectable working with a simple table and its rows.
To add a bit more functionality I added a context menu using this context menu plugin.
If I use every element on its own, it works. But if I add the selectable and the context menu to the same elements in my DOM only the context menu ...
Textfields currently do not dispatch paste events.
When the user is using keyboard shortcuts to paste, there's a way to workaround that shortcoming by listening to various keyboard events in the textfield.
Is there a way to detect the paste event when it is originated from a click on the ContextMenu?
...
TextField objects have a built in context menu containing items which target cut, copy, paste, delete and select all events.
i would like to map keyboard keys and modifiers to these events to obtain their free functionality.
is that possible?
...
Hi,
I know there are already some threads about this, but I just won't work for me.
What I want:
I need a new entry in a context menu of the Visual Studio Source Control Explorer. For this I started a new Add-In Project.
What I used:
I used this article as a guide.
http://blogs.msdn.com/b/team_foundation/archive/2010/06/24/extending-...
Dear StackOverflow,
I have a RichEdit control that uses an implementation of the IRichEditOleCallback interface, so that it can host images and embedded objects.
Part of this interface is the GetContextMenu method. If this method remains unimplemented, the context menu (obviously) will not show up. Returning E_NOTIMPL does not do the ...
My program create context menu in HKEY_CLASSES_ROOT*\shellex\ContextMenuHandlers. In Windows 7, because of my program then context menu become classic. If I delete the registry key, context menu back to normal (aero). Can you tell me what is the possible reason that make my context menu become classic style?
...
I need a toolbar button similiar to the "New Project" button in the standard Visual Studio toolbar. When clicked, it pops up a dialog. However, it also has a small little down-arrow next to the icon graphic that, when clicked, expands a context menu with more options.
Is there a standard control available with this functionality?
...
I am looking to add a new item in a right click context menu for a certain file type. I suppose it would be easiest to run a batch file with the full path of the file as an argument. I need to rename the file, unzip it, then rezip it, then rename it. I suppose winzip command line would be appropriate tool to help with that, unless someon...
I'm trying to port Java application to Mac OS, My program needs to add items to Finder context menu, Is there a way to add items using Java?
Thanks
...
I'm trying to add a ContextMenu to items in a ListBox in WPF;
<ListBox.ItemTemplate>
<DataTemplate>
<Border>
<Grid>
<Grid.ContextMenu>
<ContextMenu>
<MenuItem Header = "Menu item 1"/>
...
I have a context menu. The function v.getId() is supposed to return the id, but does not - instead it returns 'false'.
Here is my code:
@Override
public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) {
super.onCreateContextMenu(menu, v, menuInfo);
menu.setHeaderTitle("Options");
menu.add(0, v...
Hi.
I have list activity with custom array adapter and I can't to get context menu when make long press on list item.
<TabWidget
android:id="@android:id/tabs"
android:layout_width="fill_parent"
android:layout_height="wrap_content"/>
<FrameLayout
android:id="@android:id/tabcontent"
...