The actual size in pixels depends on the the font used in the dialog and on
whether or not the user is using large fonts. You really "should not" try to
defeat this feature of Windows.
But you can, if you want, use MoveWindow() in OnInitDialog() to set the size in
pixels to anything you want, but you will surely have to move the controls also.
HTH,
David Wilkinson
=====================================
Quote:
> I am trying to set the size of a dialog box to a specific set of
> values, but the actual box that gets created is not the size indicated in the
> resource.rc file? Is there a scaling factor I am overlooking? When I create
> the box with the interactive resource editor, it shows the size at the lower
> right corner, but I don't believe that the value is in actual pixels. Doing a
> Ctrl-Print Screen and pasting the result into Paint, the values are larger and
> more like what I expect.