Setting Control Properties at Design Time
Properties of controls can be set at design time using the Dialog editor. When you set a property, the Resource editor initializes the control with the specified value. The property still can be changed programmatically.
When binding simple bound ADO data-bound controls to an ADO data control (ADODC), you must associate the control with a column by setting the DataField property to a valid field in the rowset. Otherwise, the compiled application will assert in a running Debug build (the assertion is simply marking that the control has been bound to a null column).
Note The General properties tab allows you to specify a control identifier and other properties needed for the .rc file. (The .rc file is later compiled to generate a Windows program resource code.)
To set a property in the All tab
- Insert an ActiveX control into a dialog box.
- Right-click the control in the Dialog editor and click Properties on the shortcut menu.
- Click the All tab to display the control's properties. For a given property, enter the initialization value.
To set control properties at run time, see Modifying a Control's Run-Time Behavior.