5/9/08

How would you make an edit control in a dialog box read-only? Why might you want to do this?

To make an edit control in a dialog box read-only, select the Read Only check box on the Styles tab of the Edit Properties dialog box. A read-only edit control can be used to convey dynamically changing text to a user.

2 comments:

Phredog said...

In the Resource view, right click on the control. Select properties. In the properties window, set "Read Only" to True.

Anonymous said...

Thanks