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:[EMAIL PROTECTED]
> Sent: 15 November 2001 09:34
> To: perl-win32-gui-users@lists.sourceforge.net
> 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
> Perl-Win32-GUI-Users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users
> 

Reply via email to