> 
> sub Settings_Terminate {
>     $Window2->Hide();
>     return 0;
> }
> 
> 
>

Settings is the -name of the pop up Window ? 

must be the windows name . EG

my $Window2 = new Win32::GUI::Window(
    -title   => 'hello.pl',
    -left    => 100,
    -top     => 100,
    -width   => 150,
    -height  => 100,
    -name    => 'PoPupWindow',
    -visible => 1,
);

sub PoPupWindow_Terminate {
     $Window2->Hide();
     return 0;


would do what you want.

Reply via email to