A few years ago I wrote a C++ program with the help of Virtual Studio and some books. The program works OK, but one of my frustrating problems was the apparent difference in scale between the dimensions used in the .rc file and those used as arguments to the CreateWindow function. Is there some way to know how long 100 units (for example) is in each case? Pixels, inches, other?