From: Peter E. <Pet...@at...> - 2001-11-15 19:00:44
|
You can create a Label the same size as the window (with or without text) and react to double-click and right-click events on it. That's the only way I've been able to do it. > -----Original Message----- > From: Marcus [mailto:li...@wo...] > Sent: 15 November 2001 09:34 > To: per...@li... > Subject: [perl-win32-gui-users] Context Menus > > > Does anyone know how to create a right-click context menu for the main > window? > > I need the context menu to appear anywhere in the main window. Is it > possible to just capture right-click actions in general, and then get > detailed. You can create keyboard actions/bindings, but what about > mouse actions other than those predefined? > > I tried MainWindow_RightClick just to see, since there are other > undocumented events around too, but that didn't respond. > > > Thanks, > > Marcus > > > > _______________________________________________ > Perl-Win32-GUI-Users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users > |