Dialog Box Control Statements
Windows provides two equivalent ways to specify a child window control in a dialog box template. One way is to use an explicit statement, such as COMBOBOX. The other way is to use the CONTROL statement, which will then include the COMBOBOX style as a parameter. For instance, the following two examples produce the same control.
CONTROL "Push Me", IDC_BUTTON1, "button", BS_DEFPUSHBUTTON | WS_TABSTOP | WS_CHILD, 45, 66, 48, 12 DEFPUSHBUTTON "Push Me", IDC_BUTTON1, 45, 66, 48, 12, WS_TABSTOP
A number of the statements include the position and size of the control. In the descriptions that follow, they will be labeled x , y , width , height . Keep in mind that all values are integers, and all use dialog base units. ...