contextmenu

FLOSS that implements badging and contextual menu in Snow Leopard's Finder

Apparently with Snow Leopard, due to rewrite of Finder in Cocoa and removal of Contextual Menu Plugins, it is no longer trivial to do either badging nor contextual menus, however Dropbox seems to both add a contextual menu in the managed folder, and add status badges. Is there an open source project that managed to solve this problem? ...

Custom ListView and context menu. How to get it?

I have a two layouts files in my app. Also I have Activity extends ListActivity. Every item of this activity looks consider item.xml layout file. I am trying to get context menu when make long presss on item, but I don't see it. In my activity I trying to registerForContextMenu(getListView()) and override two methods @Override pu...

jQuery Right-Click Context Menu Help!

http://pastebin.com/YyDzQ4Bk this is a plugin for right click context menu, anyone know why it doesn't work in IE? Not only that, it's breaking many of my other jQuery things, such as fancy box and some jQuery hover functions. ...

Using Context Menu On Fancybox Image Popup

I integrated this right click context menu into my website: http://abeautifulsite.net/blog/2008/09/jquery-context-menu-plugin/#download my problem now is when I use fancybox to show an image, I can't seem to find a selector to target so i can use my custom context menu when i right click on the fancybox image popup. Any ideas? ...

ContextMenu for DataGrid

Hi, I have the following context menu for rows of the Data Grid. <ContextMenu x:Key="cm_rowMenu"> <!--ContextMenu For Row--> <MenuItem Header="Edit Info." Click="mnuEditInfo_Click" /> <MenuItem Header="Delete" Click="mnuDelete...

wpf - commands , contextmenu

How can I put the ContextMenu in a resource xaml file and bind it's commands to my current window's commands ? ...

Android: How to create a ContextMenu for a custom View

I'd like to show a ContextMenu for a custom View which is not part of an AdapterView. I called myActivity.registerForContextMenu(myView); and the ContextMenu already shows up. But I don't know how to access the data of myView in @Override onContextItemSelected(MenuItem item) //... I thought I could create a custom menuInfo in @...

WPF , contextmenu

I have a listview with contextMenu on each ListViewItem that has Click event, how can I detect in the event handler witch Item was click in his contextMenu ? I need the item ID. <Style TargetType="{x:Type ListViewItem}"> . . . <Setter Property="Control.Template"> <Setter.Value> <ControlTemplate T...

How to know if someone else handled OnContextMenu

I have a CWnd derived class that has a WM_CONTEXTMENU handler (OnContextMenu), which has my default context menu. This class is being used at several places in my application. Some of the places where it's being used also handle the WM_CONTEXTMENU at the parent level (the window parent). They basically override the default context ...

How to use the Android Context Menu (on tap and hold)

I am having a lot of trouble understanding how the Android context menu works. I am writing a simple program which will display a list of different types of ice cream in a list view. When the user to "taps and holds over each type, a context menu should appear with 4 options asking what information they want to be displayed about that i...

WPF Transparent menu

Hello, I currently have the following menu: <Menu Grid.Row="1" Margin="3" Background="Transparent"> <MenuItem Name="mnuFile" Header="File" Background="#28FFAE04" Foreground="#FFFED528"> <MenuItem Name="mnuSettings" Header="Settings" Background="#28FFAE04" Foreground="#FFFED528" /> <MenuItem Name="...

Disable Right click and enable left click for contextmenu in WPF using MVVM

Code: <Button Style="{StaticResource HPForegroundStyle}" IsTabStop="False" Command="{Binding ForegroundPhoneCommand}" Click="Button_Click"> <Button.ContextMenu> <ContextMenu ItemsSource="{Binding OptionsMenuItemList}" Item...

Disable context menu on some DatGrid cells WPF

I have defined a datagrid like this :: <cc:PEDataGrid AutoGenerateColumns="False" ItemsSource="{Binding Rows}" Width="Auto" PreviewMouseRightButtonDown="PEGrid_PreviewMouseRightButtonDown" Loaded="CommonPEGrid_Loaded"> <wpfkit:DataGrid.Contex...

Which event is called when a user click on the disabled item in context menu?

Hello, I have button, which displays a Context menu. In the menu are few items (some of them are disabled - setEnabled(false)). Which event is called when a user click on the disabled item? It's not onContextItemSelected nor onContextMenuClosed. But the menu is closed after the click. Thanks for your help. ...

How to remove input method from android's TextView context menu

I have a context menu on a TextView representing a user name in my app. When the context menu appears I want to have certain options such as "View Statistics" etc. The context menu is appearing fine and everything is working great except it's adding "Input method" to the context menu and I do not want it there. It's irrelevant to what th...

How do you bind menu items to a ContextMenu in silverlight, including the icon

I have a context menu and i want its menu items populated via a binding. The following code works <Button> <controlsInputToolkit:ContextMenuService.ContextMenu> <controlsInputToolkit:ContextMenu ItemsSource="{Binding MenuItems}"> <controlsInputToolkit:ContextMenu.ItemTemplate> <DataTemplate> ...

Windows Explorer Context Menu

I want to add a context menu entry with C++. I've been searching but all I can find is some jackass trying to sell me some BS program that does it for me which is not what I am looking for. I'm not looking for anything that uses .NET or Visual C++ either. I want the straight C++ way of doing this. ...

HierarchicalDataTemplate & ContextMenu & Silverlight

I have a TreeView which uses HierarchicalDataTemplate to generate its items and i want to have a context menu on items(markup below). The problem is that the menu is showing but when i click on any item nothing happens. I use MVVM so menu is bound to Commands. But i have another menu on the treeview itself and it works perfectly. How can...