Link to home
Start Free TrialLog in
Avatar of coolarmani
coolarmani

asked on

Win32::GUI background image?

Hi,

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:-

use Win32::GUI;
    $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?
ASKER CERTIFIED SOLUTION
Avatar of LocoTechCJ
LocoTechCJ
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial