The 'RECT' Resource
You use the 'RECT' resource to describe the size and shape of the area taken up
by your controls. In assigning coordinates to your controls, assume that the
origin (that is, the upper- left corner) of the local coordinate system for your
dialog items is at (0,0). (In this coordinate system, the Options dialog items
displayed by the Monitors control panel would have a right edge at 319 and a
negative top coordinate.) The Monitors control panel expands the Options dialog
box, placing the rectangle defined by your 'RECT' resource so that its upper
edge starts immediately below the standard controls put in the Options dialog
for example, the OK and Cancel buttons and the Select monitor type box are
standard controls, and the screen-saver control has been added by a Monitors
extension.
Because the Monitors control panel transforms the coordinates of your
controls to the coordinate system that it uses for the Options dialog box, you
the true locations of your dialog items.