Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.acorn.programmer > #5709
| From | News <chrisjohnson@spamcop.net> |
|---|---|
| Subject | Re: Re-Sizing a window's work area. |
| Newsgroups | comp.sys.acorn.programmer |
| Date | 2019-03-06 16:24 +0000 |
| Message-ID | <579094d95echrisjohnson@spamcop.net> (permalink) |
| References | <f922c21f-e7c7-4ec1-9e0c-30e81ae16222@googlegroups.com> <579082e6e5chrisjohnson@spamcop.net> <b8459245-0960-4bd3-8638-0f26a7366d17@googlegroups.com> |
| Organization | None |
In article <b8459245-0960-4bd3-8638-0f26a7366d17@googlegroups.com>, <usenet@garethlock.com> wrote: > Ok... Thanks all... Just working out how to best implement it in > code. > I'm assuming you can use the same call to shrink as well... Yes. The caveat is that you cannot make the new work area smaller than the current size of the visible window. If you do need to shrink it smaller than the current size then call Wimp_OpenWindow with a very small size, change the extent, then do another Wimp_OpenWindow at your new required size. The SWI takes only two parameters. R0 = window handle. R1 is a pointer to a block - new min x, new min y, new max x, new max y. -- Chris Johnson
Back to comp.sys.acorn.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re-Sizing a window's work area. usenet@garethlock.com - 2019-03-06 03:59 -0800
Re: Re-Sizing a window's work area. Martin <News03@avisoft.f9.co.uk> - 2019-03-06 12:45 +0000
Re: Re-Sizing a window's work area. News <chrisjohnson@spamcop.net> - 2019-03-06 13:08 +0000
Re: Re-Sizing a window's work area. usenet@garethlock.com - 2019-03-06 07:25 -0800
Re: Re-Sizing a window's work area. Martin <News03@avisoft.f9.co.uk> - 2019-03-06 16:19 +0000
Re: Re-Sizing a window's work area. News <chrisjohnson@spamcop.net> - 2019-03-06 16:24 +0000
Re: Re-Sizing a window's work area. Steve Fryatt <news@stevefryatt.org.uk> - 2019-03-06 18:16 +0000
Re: Re-Sizing a window's work area. News <chrisjohnson@spamcop.net> - 2019-03-06 23:27 +0000
csiph-web