[EMAIL PROTECTED] wrote:
> How do you create sub-menus of sub-menus using Win32::GUI?
> Something like:
>
> Main
> |___Sub1
> |___Sub2
>
> I've tried (to no avail):
>
> $Menu = Win32::GUI::MakeMenu(
> "&Main" => "Main",
> " > Sub&1" => "Sub1",
> " >> Sub&2" => "Sub2",
> );
John, what you've tried is correct, but there's a little
but in the GUI.pm file. line 452 should be changed from:
$M->{$parent}->SetMenuItemInfo(
to:
$M->{$parent}->Change(
and the world will smile again ;-)
ciao,
Aldo
__END__
# Aldo Calpini
%_ = split undef, join ' ', qw(fahokem
xritajbugne csuctawer jhdtlrnpqloevkshpr
); print map $_{$_}, sort keys %_;