Jared, I quite agree, and have asked before, and as I recall there are no facilities for this.
In wondering how one would roll one's own, I thought maybe of hooking the applications key and the mouse right click, and possibly generating your UI XML dynamically so you could change the location to what's appropriate for the current focus or mouse location? Chip -----Original Message----- From: Jared Wright [mailto:[email protected]] Sent: Saturday, April 16, 2011 6:41 AM To: [email protected] Subject: Right Click Context Menus Hey everyone, Perusing the docs I see no immediately evident method of attaching elements in a WE dialog to right click context menus, be they items in a listbox, listview, tree, or maybe a couple others I'm forgetting that this sort of UI could be appropriate for. Nor have I seen any apps that use them. Assuming I am correct in their being no native support for this, I'm seeking any suggestions that might not be as drastic as completely rolling my own dialogs to accomplish this functionality. If that's what it takes, well, no worries, it won't really surprise me since we don't usually need to access any of the under-the-hood stuff for the WE dialogs beyond what can be accomplished with XML. But before I started experimenting with making my dialogs from scratch I thought I'd field the question here. I could always just use other UI elements (and probably will if it ends up being a bunch of trouble), but right click functionality is pretty widespread and I personally use it frequently. I'd like to be able to have a little consistency in the UI's I make for WE apps if it's at all practical. Thanks for any and all thoughts!Perusing the docs I see no immediately evident method of attaching elements in a WE dialog to right click context menus, be they items in a listbox, listview, tree, or maybe a couple others I'm forgetting that this sort of UI could be appropriate for. Nor have I seen any apps that use them. Assuming I am correct in their being no native support for this, I'm seeking any suggestions that might not be as drastic as completely rolling my own dialogs to accomplish this functionality. If that's what it takes, well, no worries, it won't really surprise me since we don't usually need to access any of the under-the-hood stuff for the WE dialogs beyond what can be accomplished with XML. But before I started experimenting with making my dialogs from scratch I thought I'd field the question here. I could always just use other UI elements (and probably will if it ends up being a bunch of trouble), but right click functionality is pretty widespread and I personally use it frequently. I'd like to be able to have a little consistency in the UI's I make for WE apps if it's at all practical. Thanks for any and all thoughts!
