How can I get and set the 'read-only' property of an edit box?

railsmail picture railsmail · Jan 20, 2009 · Viewed 13.7k times · Source

How can I get and set the 'read-only' property of an edit box?

Answer

Steve Beedie picture Steve Beedie · Jan 20, 2009

The CEdit class has a SetReadOnly method which can be called at run-time. Details on MSDN: http://msdn.microsoft.com/en-gb/library/aa279328(VS.60).aspx