on May 28th, 2014, 6:10pm, g3nrw wrote:| The box is intended to show the current status of a process |
|
You will probably want to use a read-only edit box, or perhaps a simple static control, so the user cannot modify the contents. Other options may be to display the information in the title bar or a status bar.
Quote:| all that is required is to update the message displayed in the box from time to time. |
|
That is the most basic of all operations on a dialogue box item, and indeed is the first to be described in the Initialising the contents of a dialogue box section of the BB4W Help docs:
http://www.bbcbasic.co.uk/bbcwin/manual/bbcwing.html#initdialog
It says: "To change the text associated with a dialogue box item (which may for example be the contents of an edit box or a label for a check box) you can use the SetDlgItemText API call":
Code: SYS "SetDlgItemText", !dlg%, id%, text$
Of course had GUILIB been developed it would have included a BASIC wrapper function for this call.
Richard.