Assuming $menu 'PopUpMenu' already exists, then do the following:

my ( $x, $y ) = Win32::GUI::GetCursorPos ();
$Window->TrackPopupMenu( $menu -> {'PopUpMenu'}, $x, $y );




-----Original Message-----
From: moo cow [mailto:mewphobia@iprimus.com.au]
Sent: Monday, August 26, 2002 22:28
To: perl-win32-gui-users@lists.sourceforge.net
Subject: [perl-win32-gui-users] right click menu items


Hi,
How do I make it so I can right click a menu item, and it brings up a popup menu?

Nick

------------------------------------------------------- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 _______________________________________________ Perl-Win32-GUI-Users mailing list Perl-Win32-GUI-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users