There isn't really anything wrong.
However 100x100 is a small window and with out top and left parameters
may be off the visible area of your monitor in top left corner
try adding 
-top =>200,
-right =>200 to $main

JohnR

-----Original Message-----
From: (Aben) Roman Fordinál [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 10, 2002 5:02 PM
To: [EMAIL PROTECTED]
Subject: Win32 show nothing



this program show me nothings :(

use Win32::GUI;
    $main = Win32::GUI::Window->new(
                -name   => 'Main',
                -width  => 100,
                -height => 100,
        );
    $main->AddLabel(-text => "Hello, world", -name => 'label');
    $main->Show();
    Win32::GUI::Dialog();
    sub Main_Terminate {
        -1;
    }

whats wrong?
i have been installed

win32::GUI
win32::API
win32::OLE
Perl v5.6.1 built for MSWin32-x86-multi-thread



-- 
S pozdravem,
 (Aben)
 [EMAIL PROTECTED]

_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


############################################################## 
Disclaimer 

If this e-mail has been sent to you in error, please notify 
Océ-Australia Limited immediately and delete this e-mail from 
your system. 

Any views expressed in this e-mail are those of the individual 
sender and may not necessarily reflect the views of 
Océ-Australia Limited. 
##############################################################
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to