Quick reply, it could be a simple scoping problem:
> package Testing;
>
> use strict;
> use warnings;
> use Win32::GUI();
> use Win32::GUI::Constants qw(BS_BITMAP);
move the images here - that way the objects don't get destroyed when they go
out of scope.
my $IMG1 = new Win32::GUI::Bitmap("D:
Hello,
I have a problem in that I am trying to build a window inside a package.
However, when I build a button inside the package, the bitmap does not
display.
For instance, I have this simple program:
use strict;
use warnings;
use Win32::GUI();
use Win32::GUI::Constants qw(BS_BITMAP);
my $mw =
2 matches
Mail list logo