Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


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

Re: Re-Sizing a window's work area.

Path csiph.com!news.uzoreto.com!feeder.erje.net!2.eu.feeder.erje.net!border1.nntp.ams1.giganews.com!border2.nntp.ams1.giganews.com!nntp.giganews.com!buffer2.nntp.ams1.giganews.com!nntp.brightview.co.uk!news.brightview.co.uk.POSTED!not-for-mail
NNTP-Posting-Date Wed, 06 Mar 2019 10:24:53 -0600
From News <chrisjohnson@spamcop.net>
Subject Re: Re-Sizing a window's work area.
Newsgroups comp.sys.acorn.programmer
Date Wed, 06 Mar 2019 16:24:48 +0000 (GMT)
Message-ID <579094d95echrisjohnson@spamcop.net> (permalink)
References <f922c21f-e7c7-4ec1-9e0c-30e81ae16222@googlegroups.com> <579082e6e5chrisjohnson@spamcop.net> <b8459245-0960-4bd3-8638-0f26a7366d17@googlegroups.com>
User-Agent Pluto/3.16 (RISC OS/5.25) NewsHound/v1.52-32
Organization None
Lines 18
X-Usenet-Provider http://www.giganews.com
X-Trace sv3-SHehaRc0eJWjfthd13xPoRQf2Fxpl6NFnLHfNncs8p7cHwhtzCEUESLlxEuujb1U149NnV/zx7F3icM!IBj2/VAzwj9yaHIjgVccDHVWYa8HdlMGn/hz+IJeHClz0ZoFjgPS6lxF44eJLeFOcr4OyXfOSX8o!OnhG
X-Abuse-and-DMCA-Info Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info Otherwise we will be unable to process your complaint properly
X-Postfilter 1.3.40
X-Original-Bytes 1729
Xref csiph.com comp.sys.acorn.programmer:5709

Show key headers only | View raw


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 | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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