Win32::GUI background image?

Posted on 2007-10-02
Last Modified: 2013-12-25

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?
Question by:coolarmani
    1 Comment
    LVL 8

    Accepted Solution

    Win32::GUI does not have the capability.  

    See the list of options here:


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    There are many situations when we need to display the data in sorted order. For example: Student details by name or by rank or by total marks etc. If you are working on data driven based projects then you will use sorting techniques very frequently.…
    In the distant past (last year) I hacked together a little toy that would allow a couple of Manager types to query, preview, and extract data from a number of MongoDB instances, to their tool of choice: Excel (…
    Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…
    The viewer will learn how to dynamically set the form action using jQuery.

    794 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now