Win32::GUI background image?
Posted on 2007-10-02
I am used to writing perl CGI scripts but I am very new to writing perl applications.
I have tried out perl2exe to convert my scripts to executables and I have installed the Win32::GUI module to create a user interface for my new application.
I create a new window for example:-
$main = Win32::GUI::Window->new(
-name => 'Main',
-width => 796,
-height => 549,
-minsize => [796, 549],
-background => '#fff000',
-text => 'My Application',
I can set the background colour of the window (yellow) but I do not seem to be able to set a background image. This is vital because I want my GUI buttons to appear over the image backdrop.
How can I do this?