I use:

 $mainContainer = new Win32::GUI::Window(
        -name => 'Container',
        -width  => 800,
        -height => 500,
        -pos => [0, 310],
        -parent => $mainwin,
       -popstyle    => Win32::GUI::WS_CAPTION | Win32::GUI::WS_SIZEBOX,
       -pushstyle   => Win32::GUI::WS_CHILD | Win32::GUI::WS_CLIPCHILDREN,
       -class => $WC,
       -onResize => \&ContainerResize,
 );

If you add a class of:

 $WC = new Win32::GUI::Class(
   -name => "flicker",
   -style => 0,
 );

Then you'll get flicker free resizing when the child window is resized. Not sure about tabbing...

Cheers,

jez.



Reply via email to