levW has asked for the wisdom of the Perl Monks concerning the following question:
Win32::GUI - error adding a bitmap in button:
my @bitmap; my $path1 = "reload-page.jpg"; my $icoImage = new Win32::GUI::Bitmap($path1) || warn "bitmap:$!\n"; push(@bitmap, $icoImage); $buttons->{$counters1} = $main->AddButton(-name =>"ReloadUsers", -text + => "ReloadUsers",-font => $font13,-pos => [ 600, 101 ], -onClick => sub {&ReloadUsers});
Getting an error: bitmap:Bad file descriptor....
Will appreciate any help
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Win32::GUI - error adding a bitmap in button
by stevieb (Canon) on Jun 21, 2017 at 15:01 UTC | |
|
Re: Win32::GUI - error adding a bitmap in button
by Anonymous Monk on Jun 21, 2017 at 18:26 UTC | |
by levW (Beadle) on Jun 22, 2017 at 05:00 UTC | |
by Anonymous Monk on Jun 22, 2017 at 15:19 UTC | |
by levW (Beadle) on Jun 25, 2017 at 12:19 UTC | |
|
Re: Win32::GUI - error adding a bitmap in button
by Laurent_R (Canon) on Jun 21, 2017 at 19:54 UTC | |
by Anonymous Monk on Jun 21, 2017 at 22:38 UTC |