Hi,

Is there a difference between Win 9x and NT for putting a menu on a
window using Win32::GUI?

I added a bunch of menus to my application, and they show up fine on NT,
but they don't appear at all on Win 98.  In fact, at first they caused
perl to crash on Win 98... but upgrading to build 626 seems to have
cured the bad memory reference, but the menus don't appear.

Curiously, the floating menu that I added to my NotifyIcon does appear
on Win98.

Here's my menu definition, in case there is something obviously wrong
with it....

  my $mmenu = new Win32::GUI::Menu (
    "&File" => "FileMenu",
    ">New &Location" => "NewLoc",
    ">New &ISP" => "NewISP",
    ">New &Phone Number" => "NewNum",
    ">-" => 0,
    ">E&xit" => "ExitNow",
    "&Edit" => "EditMenu",
    ">Edit Selected &Location" => "EditLoc",
    ">Edit Selected &ISP" => "EditISP",
    ">Edit Selected &Phone Number" => "EditNum",
    "&Options" => "OptMenu",
    "&Dialing" => "DialMenu",
    ">&Dial" => "DialNow",
    ">&Hangup" => "HangupNow",
    ">&Launch Email" => "LaunchNow",
    "&Help" => "HelpMenu",
    ">&Help Text" => "HelpNow",
    ">&About" => "AboutNow",
    ">-" => 0,
    ">Show &Debug Window" => "DebugNow",
    );

  $smenu = new Win32::GUI::Menu (
    "&Dialing" => "sDialMenu",
    ">&Dial" => "sDialNow",
    ">&Hangup" => "sHangupNow",
    ">&Launch Email" => "sLaunchNow",
    ">-" => 0,
    ">&Bring to Front" => "sForeground",
    );

--
Glenn
=====
Due to the current economic situation, the light at the
end of the tunnel will be turned off until further notice.




Reply via email to