Hi All

        What is the trick to keeping a DialogBox on top of the Main Tk
Window such that when the user switches to another MSWindow/Application and
returns to the Perl/Tk Window the DialogBox is still on top of the Tk
Window?

Thanks
Bill Conrad


You need to use focusforce as in:

my $dlg = Tk::Dialog->new(..);
$dlg->focusForce;

This will force your dialog over your application window (but not over all other 
applications).

HTH,

Eitan.

_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to