Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Answer: How can I maximize a Tk application? (Win32)

by eserte (Deacon)
on Mar 26, 2004 at 09:24 UTC ( #339972=categorized answer: print w/replies, xml ) Need Help??

Q&A > GUI Programming > How can i maximize a Tk application on win32 ? - Answer contributed by eserte

Win32::API's ShowWindow provides access to the Win32 native API function which does this.

I might suggest the Win32Util module; it has a maximize function which conveniently tries to maximize in one of two ways: using ShowWindow if Win32::API is installed, or, as a fallback, resizing the window to the screen size.

  • Comment on Answer: How can I maximize a Tk application? (Win32)
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
[ambrus]: Today I accidentally cut my hand while carrying a computer. On the display part of the motherboard that sticks out at the back of the chasis and has ports, there's this thin metal sheet with holes cut for the ports, to guide plugs into the sockets.
[ambrus]: This sheet has sharp needle-like parts, 0.004 long and less than 0.001 wide, that can get bent to point outwards, and one of these cut into my palm when I lifted the box.
[ambrus]: So now when I choose what motherboard to buy for my new home computer, I have one more specific property to guide me. Useful, because there's so many different boards to choose from.
[Corion]: Well, no computer will start up without the blood sacrifice being made!
[Corion]: I used to cut me on PC cases, but they've gotten better or I don't let blood that easy anymore ;)

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2017-01-16 19:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (151 votes). Check out past polls.