Re: [python-win32] Simple context-menu question.

2008-11-25 Thread Tim Roberts
Mike Driscoll wrote: > Tim Roberts wrote: >> Joel Bryan Juliano wrote: >> >>> >>> My question is how can I get the current names of the "MenuName > >>> SubMenuName > SubItemName" when InvokeCommand is called? >> >> I would also caution you that it is not good practice to create deeply >> nested

Re: [python-win32] Simple context-menu question.

2008-11-25 Thread Mike Driscoll
Tim Roberts wrote: Joel Bryan Juliano wrote: Based on the context_menu.py example found in win32comext\shell\demos\servers\context_menu.py, there is a function callback when an item is chosen, def InvokeCommand(self, ci): mask, hwnd, verb, params, dir, nShow, hotkey, hicon = ci

Re: [python-win32] Simple context-menu question.

2008-11-25 Thread Tim Roberts
Joel Bryan Juliano wrote: > Based on the context_menu.py example found in > win32comext\shell\demos\servers\context_menu.py, there is a function > callback when an item is chosen, > > def InvokeCommand(self, ci): > mask, hwnd, verb, params, dir, nShow, hotkey, hicon = ci > win32gui.

[python-win32] Simple context-menu question.

2008-11-25 Thread Joel Bryan Juliano
Based on the context_menu.py example found in win32comext\shell\demos\servers\context_menu.py, there is a function callback when an item is chosen, def InvokeCommand(self, ci): mask, hwnd, verb, params, dir, nShow, hotkey, hicon = ci win32gui.MessageBox(hwnd, "Hello", "Wow", win32c