GetDialogBaseUnits is a crock

Here’s a post at Old New Thing:
There are two functions that let you convert dialog units (DLUs)
to pixels. One is

which returns the base
units directly (leaving you to do the math), and another is

which takes a rectangle in DLUs and returns a rectangle in pixels.

Comments are closed.