Hey,
Just upgraded to v1.02 of the Win32::GUI from v1.00, and now when I run my app, I get some annoying error at the following:
$systray_menu = new Win32::GUI::Menu(
"SystrayMenu Functions" => "SystrayMenu",
"> Info" => "SystrayInfo",
"> Exit" => "SystrayExit"
);
sub SysTray_Click {
my($x, $y) = Win32::GUI::GetCursorPos();
$mw_win32->TrackPopupMenu($systray_menu->{SystrayMenu}, $x, $y); #
+ <- Errorline
0;
}
where it says:
Use of uninitialized value in subroutine entry at scipt.pl line ...
Use of uninitialized value in subroutine entry at scipt.pl line ...
Argument "*Win32::GUI::Window::Width" isn't numeric in subroutine entry at scipt.pl line ...
Wth is this? Worked before! Btw, the line the error is on is the line with the $mw_win32...
Edit: Now I also get:
Argument "*Win32::GUI::TrackPopupMenu" isn't numeric in subroutine entry at list script.pl line ...
Argument "" isn't numeric in subroutine entry at script.pl line ...
Argument "xpad" isn't numeric in subroutine entry at script.pl line ...
Argument "" isn't numeric in subroutine entry at script.pl line ...
All pointing at the same line.
UPDATE: Seems to be a bug (that is fixed now) in the module.
Thanks,
Ace