my $icon = new Win32::GUI::Icon("c:\\JS1G.ICO");
my $windowclass = new Win32::GUI::Class(-name => "mywindowclass", -icon => $icon,);our $mainform = Win32::GUI::Window->new(
-name=>'mainwindow',
-text=>'Main Window',
-width=>1024,
-height=>768,
-class=>$WC,
) or die "window creation failed: $!\n";
my $icon = new Win32::GUI::Icon("c:\\JS1G.ICO");
my $WC = new Win32::GUI::Class(-name => "mywindowclass", -icon => $icon,);our $mainform = Win32::GUI::MDIFrame->new(
-name=>'mainwindow',
-text=>'Main Window',
-width=>1024,
-height=>768,
-class=>$WC,
) or die "frame creation failed: [EMAIL PROTECTED]";our $mainclient = $mainform->AddMDIClient(
-name=>'designer_client',
-firstchild=>100,
) or die "client creation failed: [EMAIL PROTECTED]";$childwindow = $mainclient->AddMDIChild(
-name=>'window1',-text=>'Window1',
-width=>810, -height=>610,
-top=>100, -left=>100,
-dialogui=>1,
-accel=>$accelerators,
-menu=>$mainmenu,
# -class=>$WC,
-icon => $icon,
) or die "child creation failed: [EMAIL PROTECTED]";
Perl Command Line Interpreter has encountered a problem and needs to close. We are sorry for the inconvenience.
_______________________________________________ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs