By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,984 Members | 1,057 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,984 IT Pros & Developers. It's quick & easy.

Twips and Pixels: Please confirm

P: n/a
I've been working with the Twips/Pixel issue and after reviewing the
Acc.Dev.Hnd book and the groups, the standard seems to be ...

640x480 15 Twips/Pixel
800x600 12 Twips/Pixel
1024x768 12 Twips/Pixel
1280x1024 12 Twips/Pixel
Some sources even say all resolutions other than 640x480 have 12
Twips/Pixel.

However...........

I'm using a 15.4 wide screen laptop and discovered through painstaking
measurements that....

640x480 15 Twips/Pixel Normal as documented
1280x800 15 Twips/Pixel What happened?
1024x768 15 Twips/Pixel What happened?
800x600 15 Twips/Pixel What happened?

These numbers were obtained by measuring a 1 pixel difference in
Also, the sizes that windows(using GetWindowRect dll call) and Access
reports for a given open form, remains the same when I change
resolutions. I thought that the pixels were different (12 vs. 15) with
each resolution, and would change when setting the resolution and
reopening the form.

Any advice or comments would be appreciated.

TIA

Nov 13 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
On 11 Jun 2005 21:49:45 -0700, "ce*******@yahoo.com" <ce*******@yahoo.com>
wrote:
I've been working with the Twips/Pixel issue and after reviewing the
Acc.Dev.Hnd book and the groups, the standard seems to be ...

640x480 15 Twips/Pixel
800x600 12 Twips/Pixel
1024x768 12 Twips/Pixel
1280x1024 12 Twips/Pixel
No - you can't make such assumptions. It will depend on the aspect ratio of
your monitor and your dpi (dots per inch) setting in Windows. You should use
API calls to determine the dpi in the X and Y direction on your system
configuration - it won't always be the same in both directions. Note that an
"inch" here means what your programs will treat as an inch, not a physical
inch of physical distance on your screen.


Some sources even say all resolutions other than 640x480 have 12
Twips/Pixel.

However...........

I'm using a 15.4 wide screen laptop and discovered through painstaking
measurements that....

640x480 15 Twips/Pixel Normal as documented
1280x800 15 Twips/Pixel What happened?
1024x768 15 Twips/Pixel What happened?
800x600 15 Twips/Pixel What happened?


If the dpi setting is the same for all resolutions, then Twips per Pixel will
be the same as well. That's pretty normal. If you change your display
settings to Large Fonts, you'll see those numbers change.

Nov 13 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.