BBC BASIC for Windows
« PROC_editbox: read-only? »
Welcome Guest. Please Login or Register. Apr 5th, 2018, 10:26pm
ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018. Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.
If you require a dump of the post on your message board, please come to the support board and request it.
PROC_editbox: read-only?
« Thread started on: Apr 19th, 2014, 10:07am »
Still learning about BBC Windows GUI.
I want to use something like a PROC_editbox, but read-only. The box will be used to display program status messages on the fly, but I don't want the user to overwrite it.
I want to use something like a PROC_editbox, but read-only. The box will be used to display program status messages on the fly, but I don't want the user to overwrite it.
How can I do this?
Simply set the edit box to read-only (ES_READONLY style bit). You may want to familiarise yourself with the many styles available which modify the appearance and/or functionality of Windows controls. As always, the information can be found at MSDN; in the specific case of Edit Controls it's here: