Change read-only attribute of edit control programmatically.
I have an application using DAO recordsets. My client requires one field to be set to read only if a particular parameter is passed to the application. If no parameters are passed the field is to be enabled.
I used the EnableWindow method to enable/disable the field as required but my client insists that it be read only since he does not want the text to be grayed out.
I have searched through the help files and I'm sure the answer to this one is ridiculously simple - I just can't see it :(
I am using VC++ Version 6, latest SDK, on a 1.6GHz , 1GB P4 running XP Pro.
Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.