From: Peter E. <Pet...@at...> - 2002-07-08 13:07:19
|
First you set up your $menu. Then it is done something like this... I have a script that does this when a user Click's on a NotifyIcon, so within the sub ni_Click there is: my ( $nipx, $nipy ) = Win32::GUI::GetCursorPos (); $Window->TrackPopupMenu( $menu -> {'PopUpMenu'}, $nipx, $nipy ); HTH, Pete > -----Original Message----- > From: Bjoern Hoehrmann [mailto:der...@gm...] > Sent: Saturday, July 06, 2002 05:33 > To: per...@li... > Subject: [perl-win32-gui-users] Context Menus > > > Hi, > > I want to create a context menu, but I am not sure if Win32::GUI > supports them. Basically, as far as I understand it, the code is > already in the module (calls to CreatePopupMenu, TrackPopupMenu, > InsertMenuItem), but I don't know how they fit together. Hints? > > regards. > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > We have stuff for geeks like you. > http://thinkgeek.com/sf > _______________________________________________ > Perl-Win32-GUI-Users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users > |