yoda54 has asked for the wisdom of the Perl Monks concerning the following question:

Dear Monks,

I'm to the process of writing a Tk app and I was wondering how I could determine the MAX resolution?

Thanks Monks!

Replies are listed 'Best First'.
Re: Tk - Determine MAX Resolution
by PodMaster (Abbot) on Aug 15, 2004 at 09:02 UTC
      Doesn't that give the _current_ resolution, not the max one?
        I realize know that you want to query the capabilities of your display drivers, tk can't help you there (you can't change resolution with Tk). You'll have to resort to platform specific calls (Win32::API on windows, etc...) or maybe OpenGL, SDL... sorry

        MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
        I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
        ** The third rule of perl club is a statement of fact: pod is sexy.