Aaron, I think that's what I'd like to do; I'd like to use the existing dialog system, and have context menus added to it, but I don't follow your point about how to do it? I don't know much about the differences between a listbox (which is what I have), and a listview, was that key to your point, otherwise, I'm not getting your point at all? thanks. Chip
_____ From: Aaron Smith [mailto:[email protected]] Sent: Wednesday, May 19, 2010 4:12 PM To: [email protected] Subject: Re: is it possible to create a context menu with a script? Alternatively, use the existing dialog menu system to act on the selected list view item. Aaron On 5/19/2010 3:59 PM, Ron Parker wrote: Visually, it'd look nothing like a context menu. Also, it obviously wouldn't have any support for shortcuts or submenus or checkmarks or disabled items or separators or accelerators, though presumably you could sort of emulate those with enough work. (Submenus would require a treeview instead of a listbox.) On 5/19/2010 3:55 PM, Chip Orange wrote: you could detect when a right click happened, and maybe even build a listbox dynamicly if you could figure out if the right click happened over your item, but then is displaying a dialog with a listbox the same thing as a context menu (assuming you could make it close with the enter key and not require an "ok" button)? it doesn't sound like it would look much like a context menu. Chip -----Original Message----- From: Jeff Bishop [mailto:[email protected]] Sent: Wednesday, May 19, 2010 3:49 PM To: [email protected] Subject: Re: is it possible to create a context menu with a script? I don't think so but it would be cool. ----- Original Message ----- From: "Chip Orange" <mailto:[email protected]> <[email protected]> To: <mailto:[email protected]> <[email protected]> Sent: Wednesday, May 19, 2010 12:48 PM Subject: is it possible to create a context menu with a script? Hi all, the subject says it all; is it possible to have something like a listbox, where you can create a context menu if the user right clicks on any item in the listbox? thanks. Chip -- Aaron Smith Product Support Specialist * Web Development GW Micro, Inc. * 725 Airport North Office Park, Fort Wayne, IN 46825 260-489-3671 * gwmicro.com To insure that you receive proper support, please include all past correspondence (where applicable), and any relevant information pertinent to your situation when submitting a problem report to the GW Micro Technical Support Team.
