The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: nrdev on June 15, 2009, 01:56:25 PM

Title: read only edit box
Post by: nrdev on June 15, 2009, 01:56:25 PM
Is there a way I can create a read only text box, or to make an edit box disabled for typing?
Title: Re: read only edit box
Post by: MichaelW on June 15, 2009, 02:08:34 PM
You can set the style for the control to ES_READONLY, either when you create the control or by sending it an EM_SETREADONLY message.
Title: Re: read only edit box
Post by: nrdev on June 15, 2009, 02:31:23 PM
thanks