Idk why, but I got the icon to appear, however when I hover the mouse in the icon it dissapears o.O
This is what I'm using: (Win32::GUI)
Code: Select all
# I'll change the title to something else, just set it to test
my $window = Win32::GUI::FindWindow("ConsoleWindowClass", "Not Connected - OpenKore");
my $icon = "C:/Documents and Settings/Camila/My Documents/Openkore/openkore.ico";
my $icontray = new Win32::GUI::Icon($icon);
my $tray = Win32::GUI::NotifyIcon->new($window,
-name => "Tray",
-icon => $icontray,
-tip => "Openkore",
);
#I should set to it hide, however minimizing is easier for testing
Win32::GUI::Minimize($window);