Re: Tables in Windows

new topic     » goto parent     » topic index » view thread      » older message » newer message

Andy,

----- Original Message -----
From: "Andy Drummond" <kestrelandy at xalt.co.uk>
To: "EUforum" <EUforum at topica.com>
Subject: Tables in Windows


> I need to display tabulated data - like 24 hours by 7 days - in a
> Windows program. I can't see any nice way to do this; a fixed-size font
> is not elegant, and multiple windows is even less so. Anybody got any
> ideas?
> Andy Drummond

Lacking spreadsheets, I'd lay out a checkerboard of labels and write to
them.

About fonts: there is no such animal as a fixed-size font. You may indicate
a size, but unless you paint it as a bitmap you will find that the Windows
user can reset the Windows font size, from small to humongous. And screen
resolution can vary, usually between 640x480 and 1024x768, but that's not
the limit.

I'd assign font size to a variable, depending on those factors, which you
can find in the Registry. Also, remember to check them every time the
program runs. Don't store them (registry or .ini), for Windows 95+ can be
configured with different values for different users. Or store a set of
values for each user (you can find out what users are configured, if any, by
testing the existence of a '%windir\Profiles' directory: every subdirectory
under \Profiles will correspond to a user.)

Gerardo

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu