#!perl use Win32::GUI; Win32::GUI::Hide(scalar(Win32::GUI::GetPerlWindow())); $Win = new Win32::GUI::Window( -left => 226, -top => 230, -width => 538, -height => 357, -name => "Win", -text => "Stars & Stripes" ); $Win->Show(); $Win->AddButton( -text => "*", -name => "Star", -left => 0, -top => 0, -width => 20, -height => 20, ); $Win->AddButton( -text => "*", -name => "Star", -left => 160, -top => 0, -width => 20, -height => 20, ); $Win->AddButton( -text => "*", -name => "Star", -left => 40, -top => 0, -width => 20, -height => 20, ); $Win->AddButton( -text => "*", -name => "Star", -left => 120, -top => 0, -width => 20, -height => 20, ); $Win->AddButton( -text => "*", -name => "Star", -left => 80, -top => 0, -width => 20, -height => 20, ); $Win->AddButton( -text => "*", -name => "Star", -left => 20, -top => 20, -width => 20, -height => 20, ); $Win->AddButton( -text => "*", -name => "Star", -left => 60, -top => 20, -width => 20, -height => 20, ); $Win->AddButton( -text => "*", -name => "Star", -left => 100, -top => 20, -width => 20, -height => 20, ); $Win->AddButton( -text => "*", -name => "Star", -left => 140, -top => 20, -width => 20, -height => 20, ); $Win->AddButton( -text => "*", -name => "Star", -left => 180, -top => 20, -width => 20, -height => 20, ); $Win->AddButton( -text => "*", -name => "Star", -left => 0, -top => 40, -width => 20, -height => 20, ); $Win->AddButton( -text => "*", -name => "Star", -left => 80, -top => 40, -width => 20, -height => 20, ); $Win->AddButton( -text => "*", -name => "Star", -left => 120, -top => 40, -width => 20, -height => 20, ); $Win->AddButton( -text => "*", -name => "Star", -left => 160, -top => 40, -width => 20, -height => 20, ); $Win->AddButton( -text => "*", -name => "Star", -left => 200, -top => 40, -width => 20, -height => 20, ); $Win->AddButton( -text => "*", -name => "Star", -left => 20, -top => 60, -width => 20, -height => 20, ); $Win->AddButton( -text => "*", -name => "Star", -left => 60, -top => 60, -width => 20, -height => 20, ); $Win->AddButton( -text => "*", -name => "Star", -left => 101, -top => 60, -width => 20, -height => 20, ); $Win->AddButton( -text => "*", -name => "Star", -left => 140, -top => 60, -width => 20, -height => 20, ); $Win->AddButton( -text => "*", -name => "Star", -left => 180, -top => 60, -width => 20, -height => 20, ); $Win->AddButton( -text => "*", -name => "Star", -left => 0, -top => 80, -width => 20, -height => 20, ); $Win->AddButton( -text => "*", -name => "Star", -left => 200, -top => 80, -width => 20, -height => 20, ); $Win->AddButton( -text => "*", -name => "Star", -left => 40, -top => 80, -width => 20, -height => 20, ); $Win->AddButton( -text => "*", -name => "Star", -left => 80, -top => 80, -width => 20, -height => 20, ); $Win->AddButton( -text => "*", -name => "Star", -left => 120, -top => 80, -width => 20, -height => 20, ); $Win->AddButton( -text => "*", -name => "Star", -left => 200, -top => 0, -width => 20, -height => 20, ); $Win->AddButton( -text => "*", -name => "Star", -left => 40, -top => 40, -width => 20, -height => 20, ); $Win->AddButton( -text => "*", -name => "Star", -left => 160, -top => 80, -width => 20, -height => 20, ); $Win->AddButton( -text => "*", -name => "Star", -left => 20, -top => 100, -width => 20, -height => 20, ); $Win->AddButton( -text => "*", -name => "Star", -left => 140, -top => 100, -width => 20, -height => 20, ); $Win->AddButton( -text => "*", -name => "Star", -left => 180, -top => 100, -width => 20, -height => 20, ); $Win->AddButton( -text => "*", -name => "Star", -left => 60, -top => 100, -width => 20, -height => 20, ); $Win->AddButton( -text => "*", -name => "Star", -left => 100, -top => 100, -width => 20, -height => 20, ); $Win->AddButton( -text => "*", -name => "Star", -left => 120, -top => 120, -width => 20, -height => 20, ); $Win->AddButton( -text => "*", -name => "Star", -left => 40, -top => 120, -width => 20, -height => 20, ); $Win->AddButton( -text => "*", -name => "Star", -left => 0, -top => 120, -width => 20, -height => 20, ); $Win->AddButton( -text => "*", -name => "Star", -left => 80, -top => 120, -width => 20, -height => 20, ); $Win->AddButton( -text => "*", -name => "Star", -left => 200, -top => 120, -width => 20, -height => 20, ); $Win->AddButton( -text => "*", -name => "Star", -left => 160, -top => 120, -width => 20, -height => 20, ); $Win->AddButton( -text => "*", -name => "Star", -left => 20, -top => 140, -width => 20, -height => 20, ); $Win->AddButton( -text => "*", -name => "Star", -left => 180, -top => 140, -width => 20, -height => 20, ); $Win->AddButton( -text => "*", -name => "Star", -left => 140, -top => 140, -width => 20, -height => 20, ); $Win->AddButton( -text => "*", -name => "Star", -left => 100, -top => 140, -width => 20, -height => 20, ); $Win->AddButton( -text => "*", -name => "Star", -left => 60, -top => 140, -width => 20, -height => 20, ); $Win->AddButton( -text => "*", -name => "Star", -left => 80, -top => 160, -width => 20, -height => 20, ); $Win->AddButton( -text => "*", -name => "Star", -left => 120, -top => 160, -width => 20, -height => 20, ); $Win->AddButton( -text => "*", -name => "Star", -left => 160, -top => 160, -width => 20, -height => 20, ); $Win->AddButton( -text => "*", -name => "Star", -left => 200, -top => 160, -width => 20, -height => 20, ); $Win->AddButton( -text => "*", -name => "Star", -left => 40, -top => 160, -width => 20, -height => 20, ); $Win->AddButton( -text => "*", -name => "Star", -left => 0, -top => 160, -width => 20, -height => 20, ); $Win->AddButton( -text => "", -name => "Stripe", -left => 220, -top => 50, -width => 310, -height => 30, ); $Win->AddButton( -text => "", -name => "Stripe", -left => 220, -top => 0, -width => 310, -height => 30, ); $Win->AddButton( -text => "", -name => "Stripe", -left => 220, -top => 100, -width => 310, -height => 30, ); $Win->AddButton( -text => "", -name => "Stripe", -left => 220, -top => 150, -width => 310, -height => 30, ); $Win->AddButton( -text => "", -name => "Stripe", -left => 0, -top => 200, -width => 530, -height => 30, ); $Win->AddButton( -text => "", -name => "Stripe", -left => 0, -top => 250, -width => 530, -height => 30, ); $Win->AddButton( -text => "", -name => "Stripe", -left => 0, -top => 300, -width => 530, -height => 30, ); Win32::GUI::Dialog(); sub Win_Terminate { Win32::GUI::Show(scalar(Win32::GUI::GetPerlWindow())); return -1; }
______________________________________________
RIP
Douglas Noel Adams
1952 - 2001
In reply to Stars & Stripes... by EvanK
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |