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.


Thank you Conforums members.

BBC BASIC for Windows Resources
Online BBC BASIC for Windows documentation
BBC BASIC for Windows Beginners' Tutorial
BBC BASIC Home Page
BBC BASIC on Rosetta Code
BBC BASIC discussion group
BBC BASIC for Windows Programmers' Reference

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: PROC_editbox: read-only?  (Read 509 times)
g3nrw
Junior Member
ImageImage


member is offline

Avatar




PM


Posts: 74
xx 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.

How can I do this?

--
Ian
User IP Logged

rtr
Guest
xx Re: PROC_editbox: read-only?
« Reply #1 on: Apr 19th, 2014, 1:54pm »

on Apr 19th, 2014, 10:07am, g3nrw wrote:
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:

http://msdn.microsoft.com/en-us/library/windows/desktop/bb775464.aspx

Richard.
User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls