TrackPopupMenu does work, I use it in the Skin module. Don't use the onClick event however, you need to use MouseRightDown (if you want a right click)
I can post an example tonight when I get home from work. If you feel brave, download Win32::GUI::Skin from Sourceforge and look in the Skin.pm module for how I use it. Brian Millham This message traveled at least 44,000 miles to reach you! Creator of the DW6000 Monitor http://www.millham.net/dw6000 [EMAIL PROTECTED] -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Glenn Linderman Sent: Tuesday, October 24, 2006 6:56 AM To: GUI Cc: Robert May Subject: Re: [perl-win32-gui-users] [win32-gui] NEM Menus? On approximately 10/23/2006 11:27 PM, came the following characters from the keyboard of Glenn Linderman: > On approximately 10/23/2006 6:14 PM, came the following characters from > the keyboard of Glenn Linderman: > >> On approximately 10/23/2006 12:47 PM, came the following characters from >> the keyboard of Robert May: >> >> >>> Glenn Linderman wrote: >>> > Hi, >>> > >>> > Last time I tried to play around with NEM menus, they didn't work, but >>> > that was several years ago. >>> > >>> > 1) Do they work now? >>> > 2) Any one have a small working sample? I didn't find one in the >>> demos.... >>> >>> I've not played extensively with the menu support. Basic NEM (-onClick) >>> definitely exists and works - several of the new demos use it: >>> >>> NotifyIcon.pl >>> standard_images.pl >>> win32-gui-demos (the demo launcher itself) >>> >>> Rob. >>> >>> >>> >>> >> Thanks for the response, Rob, I didn't see any with the right name, and >> was too tired to read all the demos to find one... so sent my message >> and went to bed. Thanks for focusing my attention on ones that use >> -onClick. Glad it is working now, I vaguely recalled some work being >> done in that area, but hadn't needed to convert my code yet... but last >> night I made some other changes that would be greatly eased by using >> -onClick. Of course the documentation for Menus doesn't have any >> examples at all... >> >> I wonder if it could be helpful to add pointers in the documentation to >> the demos that use a particular feature, even if it isn't the main >> thrust of the demo? >> >> > And hmm. I can't find NotifyIcon.pl or standard_images.pl in the > installed version of the demos... > > They are in the CVS source samples directory, though. > > Was that intentional, or an oversight? > Another comment is that none of those files include using -onClick with TrackPopupMenu. Which I haven't yet gotten to work. Making me wonder if it does. Well, tomorrow I'll try to work up a sample, to see if that sheds any light on my failure to get it to work, and also a sample for the use of Image::Info which works fine normally, but fails when packaged with PAR's pp. -- Glenn -- http://nevcal.com/ =========================== A protocol is complete when there is nothing left to remove. -- Stuart Cheshire, Apple Computer, regarding Zero Configuration Networking ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Perl-Win32-GUI-Users mailing list Perl-Win32-GUI-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users http://perl-win32-gui.sourceforge.net/ --- avast! Antivirus: Inbound message clean. Virus Database (VPS): 0643-1, 10/23/2006 Tested on: 10/24/2006 7:02:59 AM avast! is copyright (c) 2000-2006 ALWIL Software. http://www.avast.com --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 0643-1, 10/23/2006 Tested on: 10/24/2006 9:34:25 AM avast! is copyright (c) 2000-2006 ALWIL Software. http://www.avast.com