Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Win32::GUI won't display an NI menu properly

by ww (Archbishop)
on Aug 03, 2015 at 14:04 UTC ( [id://1137256]=note: print w/replies, xml ) Need Help??


in reply to Win32::GUI won't display an NI menu properly

Using warnings might help understand at least one problem:

Use of uninitialized value in subroutine entry at C:/Perl/site/lib/Win32/GUI.pm line 3419 during global destruction.

Chasing that backwards, '">E&xit"' looks a tad off.

Even together, these are not the whole ball of wax, but they're a start. You might wish to sprinkle in some additional debug messages ... and re-read the doc (  perldoc -f Win32::GUI ).

And, yes, I see the same problems with Win7, AS Perl 5.018 but don't have time to chase them all to completion.

Replies are listed 'Best First'.
Re^2: Win32::GUI won't display an NI menu properly
by wardmw (Acolyte) on Aug 03, 2015 at 17:19 UTC
    Hmm, thought I had replied to your note but it's not appeared.

    So I added "warnings;" in to the code but it revealed nothing on my system, no complaints or anything, which is of concern since you indicated that you had issues, but I tried again anyway and got the same problem.

    I took the code for creating the menu from win32-gui-demos.pl on CPAN and just pared it down. This menu is designed to be used as a standard Windows menu but as far as I can tell pop-up menus are created in the same way.

    I should have said that I am running ActiveState Perl v5.16.3.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1137256]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (6)
As of 2024-04-20 00:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found