in reply to Re: Re: Re: TK - Best MainWindow management tips
in thread TK - Best MainWindow management tips

Maybe you need to use "nmake" or "dmake", depending on your perl version.
  • Comment on Re: Re: Re: Re: TK - Best MainWindow management tips

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: TK - Best MainWindow management tips
by crabbdean (Pilgrim) on Mar 26, 2004 at 22:31 UTC
    Okay, using nmake worked.

    For anyone wanting to know, the documentation is then viewed by typing "perldoc win32util" at a command prompt.

    Also, I got the Win32Util function to doing a maximize and not going underneath the taskbar by doing:
    #!perl use strict; use Tk; use Win32Util; my $mw = new MainWindow; my ($xx, $yy, $w, $h) = Win32Util::client_window_region($mw); $mw->geometry($w.'x'.$h.'+0+0'); MainLoop;

    Dean
    The Funkster of Mirth
    Programming these days takes more than a lone avenger with a compiler. - sam
    RFC1149: A Standard for the Transmission of IP Datagrams on Avian Carriers
      It's better to write $mw->geometry($w.'x'.$h."+$xx+$yy");, as the taskbar (or any other obscuring bar) may be on top or left of the screen.