Don't you need to put in a 'Main loop()" or 'run main' command at the end to start the 
event loop?

> -----Original Message-----
> From: (Aben) Roman Fordinál [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, October 10, 2002 3: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
> 
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to