Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.acorn.programmer > #229
| From | Chris Johnson <chrisjohnson+news@spamcop.net> |
|---|---|
| Subject | Re: How to put a caret in a window |
| Newsgroups | comp.sys.acorn.programmer |
| Date | 2011-04-30 13:52 +0100 |
| Message-ID | <51cc0bd171chrisjohnson+news@spamcop.net> (permalink) |
| References | <51cc00fe22Paul@sprie.nl> |
| Organization | None |
Paul Have you seen my !Text>Draw application? It places the caret into strings of chars, the position being determined either by mouse click or keypresses (arrow keys included). There is code for moving the caret etc (the wimp EORs the caret on to the screen, so it has to be unplotted before plotting in its new position). Font_ScanString is used a number of times in the source. http://www.chrisjohnson.plus.com/software/index.html#td You are welcome to see the source code for this - confirm a valid email (privately to my spamcop posting address, which is valid) and I will send you it. The main downside is that, although having started out as Basic, it is now in C, using oslib and the toolbox, and being my first excursion into C, is certainly not the best example of programming style. Chris... -- Chris Johnson
Back to comp.sys.acorn.programmer | Previous | Next — Next in thread | Find similar | Unroll thread
Re: How to put a caret in a window Chris Johnson <chrisjohnson+news@spamcop.net> - 2011-04-30 13:52 +0100 Re: How to put a caret in a window Paul Sprangers <Paul@sprie.nl> - 2011-05-02 08:49 +0200
csiph-web