Groups | Search | Server Info | Login | Register


Groups > comp.sys.acorn.programmer > #6537

Text in a wimp window

From Bob Latham <bob@sick-of-spam.invalid>
Newsgroups comp.sys.acorn.programmer
Subject Text in a wimp window
Date 2025-08-13 20:18 +0100
Organization None
Message-ID <5c4be2e7bbbob@sick-of-spam.invalid> (permalink)

Show all headers | View raw


I wish to send dozen lines of text to a wimp window without icons in
a programme I'm writing. How do I do it?

For literally decades I have avoided trying to place text in a window
and have managed with icons. The reason is simple, in over 40 years I
cannot find anywhere a simple explanation of how to do it.

Yes, I know a bit about some thing, works_area and visible_area,
redraw boxes etc. I'm not yet "stuck" on those things.

But how the blazes you write the letter A to a wimp window I've never
understood. I would love a clue to this.

How do you select the window? 
What cursor is it graphics VDU5 or text and why?.
How do you move it (I'm NOT coding in BASIC)?
Can you then use OS_WriteC etc. ?

It's the OS calls I need, I can then look them up.

I've got shelves of books on RISC OS but I cannot find an answer I
understand in any of them. I'm sure the answers are there but they
continue to elude me. 

For all the good they do me on this, I do have the old paper PRMs,
inc 5A.

Would much appreciate it if someone could help, I've been defeated by
this a very, very long time, I'm just blind to it for some reason. .

Thanks.

Bob.

Back to comp.sys.acorn.programmer | Previous | NextNext in thread | Find similar


Thread

Text in a wimp window Bob Latham <bob@sick-of-spam.invalid> - 2025-08-13 20:18 +0100
  Re: Text in a wimp window druck <news@druck.org.uk> - 2025-08-14 09:35 +0100
    Re: Text in a wimp window Bob Latham <bob@sick-of-spam.invalid> - 2025-08-14 09:54 +0100
    Re: Text in a wimp window Theo <theom+news@chiark.greenend.org.uk> - 2025-08-14 10:03 +0100
      Re: Text in a wimp window Bob Latham <bob@sick-of-spam.invalid> - 2025-08-14 10:45 +0100
        Re: Text in a wimp window Sebastian Barthel <naitsabes@freenet.de> - 2025-08-14 14:37 +0000
          Re: Text in a wimp window Bob Latham <bob@sick-of-spam.invalid> - 2025-08-14 17:57 +0100
      Re: Text in a wimp window Theo <theom+news@chiark.greenend.org.uk> - 2025-08-14 16:12 +0100
  Re: Text in a wimp window Richard Ashbery <basura@invalid.addr.uk> - 2025-08-14 21:19 +0100
    Re: Text in a wimp window Bob Latham <bob@sick-of-spam.invalid> - 2025-08-15 16:39 +0100
      Re: Text in a wimp window Steve Fryatt <news@stevefryatt.org.uk> - 2025-08-15 20:06 +0100
        Re: Text in a wimp window Bob Latham <bob@sick-of-spam.invalid> - 2025-08-16 16:10 +0100
          Re: Text in a wimp window Steve Fryatt <news@stevefryatt.org.uk> - 2025-08-18 11:50 +0100
            Re: Text in a wimp window Bob Latham <bob@sick-of-spam.invalid> - 2025-08-18 12:58 +0100
            Re: Text in a wimp window Bob Latham <bob@sick-of-spam.invalid> - 2025-08-20 18:35 +0100
              Re: Text in a wimp window Sebastian Barthel <naitsabes@freenet.de> - 2025-08-21 13:01 +0000
              Re: Text in a wimp window Harriet Bazley <harriet@bazleyfamily.co.uk> - 2025-08-23 00:31 +0100
      Re: Text in a wimp window Jean-Michel <jmc.bruck@orange.fr> - 2025-08-17 18:01 +0200

csiph-web