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 []
Sent: Monday, August 26, 2002 22:28
Subject: [perl-win32-gui-users] right click menu items

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


------------------------------------------------------- This email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! _______________________________________________ Perl-Win32-GUI-Users mailing list