It appears there is a gap in the market for a routine which queries the monitor for its native resolution.
It does appear that there are some EDID/DDC API's out there, so I guess technically it ought to be possible.... Brucey? ;-)
but aside from the DDC information:
For LCD's, the native resolution is typically the maximum supported resolution, which is something that you can find out by going through the list of supported resolutions from within Blitz.
Of course, that leaves the problem that on CRT's you may end up switching to something ridiculously high, since there is no real 'native resolution' on those.
I guess you may be able to tell CRTs apart from LCDs by comparing the refresh rates: LCD's appear very limited, with most of them just doing 60 and others ranging between 60 and 75Hz. (mine does 59 and 60, it claims)
Especially at the lower resolutions, CRTs can reach *much* higher refresh rates (85, 100, 100+), so you can make an educated guess....
That leaves systems with old pre-DDC CRTs without the proper monitor drivers installed, you're completely shooting in the dark there.
I've just bought a wilde screen monitor and I can't strech keeping the aspect ratio :(
The whole point of *stretching* is that you... s.t.r.e.t.c.h.
instead, which by definition doesn't keep the aspect ratio... :-?
Anyway, on my Samsung SyncMaster 2443bwx there is a setting in the monitors on-screen-display configuraiton where I can switch between 'widescreen' and 'automatic' mode. In widescreen, if will stretch a (for example) 800x600 screen to fill the entire panel, stretching the contents. In 'automatic' mode, it will fill the display vertically, but put black bars on the left and right sides keeping the original aspect ratio.
If your display itself doesn't support it, check your display settings.
I have an ATI card myself, and in the ATI catalyst configuration settings I can specify what I want it to do:
Maintain Aspect Ratio, or Scale Image to Full Panel Size.