Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.acorn.programmer > #6685
| From | Bob Latham <bob@sick-of-spam.invalid> |
|---|---|
| Newsgroups | comp.sys.acorn.programmer |
| Subject | Hiding and revealing part of a window |
| Date | 2026-07-18 17:27 +0100 |
| Organization | None |
| Message-ID | <5cfa679cf3bob@sick-of-spam.invalid> (permalink) |
| References | (3 earlier) <mpro.thz9x000u4xlm03ow.news@stevefryatt.org.uk> <5cf93cf94dbob@sick-of-spam.invalid> <5cf94257c7News04@avisoft.f9.co.uk> <5cf9465afdbob@sick-of-spam.invalid> <815a4ff95c.harriet@bazleyfamily.co.uk> |
In article <815a4ff95c.harriet@bazleyfamily.co.uk>, Harriet Bazley <harriet@bazleyfamily.co.uk> wrote: > On 16 Jul 2026 as I do recall, > Bob Latham wrote: > [snip] > > I think the problem is that the vertical scroll bar will be able, > > at any time to reveal the hidden bottom section. I also think > > that changing the extent is designed to fix that issue but I > > don't understand exactly how. > > > In theory, if you change the maximum size of the window work area > then the scrollbars can no longer scroll beyond that. (And since > it's possible for icons to be located outside the edge of the > window - no sanity checks! - changing it back should reveal the > icons down at the bottom again, in the position in which they were > originally created.) > I haven't tested this.... I've got it working !!! I've modified my Wimp_OpenWindow code to reduce the window height by increasing the value of the minimum Y visible area. That raised the bottom of the window as expected but the scroll bars can pull it back. Next I used Wimp_SetExtent to remove that bottom area. That removes the scroll bar recovery option. In both cases I used the same variable which if set to 130 chops that off the bottom but if set to zero it leaves the window full size. Of course to make the window full size again the process needs to be reversed so set the extent first and then re-open the window. All exactly as Steve suggested and it worked. I had always thought items outside the work area would be lost but actually, not so. Thanks to everyone who helped. Not at all sure what to do about the scroll bar... Cheers, Bob.
Back to comp.sys.acorn.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Hiding and revealing part of a window Bob Latham <bob@sick-of-spam.invalid> - 2026-07-10 09:49 +0100
Re: Hiding and revealing part of a window Martin <News04@avisoft.f9.co.uk> - 2026-07-10 10:06 +0100
Re: Hiding and revealing part of a window Bob Latham <bob@sick-of-spam.invalid> - 2026-07-10 11:25 +0100
Re: Hiding and revealing part of a window Steve Fryatt <news@stevefryatt.org.uk> - 2026-07-10 22:19 +0100
Re: Hiding and revealing part of a window Bob Latham <bob@sick-of-spam.invalid> - 2026-07-11 10:32 +0100
Re: Hiding and revealing part of a window Steve Fryatt <news@stevefryatt.org.uk> - 2026-07-11 16:33 +0100
Re: Hiding and revealing part of a window Bob Latham <bob@sick-of-spam.invalid> - 2026-07-11 20:41 +0100
Re: Hiding and revealing part of a window druck <news@druck.org.uk> - 2026-07-15 17:39 +0100
Re: Hiding and revealing part of a window Steve Fryatt <news@stevefryatt.org.uk> - 2026-07-15 20:24 +0100
Re: Hiding and revealing part of a window Bob Latham <bob@sick-of-spam.invalid> - 2026-07-16 11:05 +0100
Re: Hiding and revealing part of a window Martin <News04@avisoft.f9.co.uk> - 2026-07-16 12:04 +0100
Re: Hiding and revealing part of a window Bob Latham <bob@sick-of-spam.invalid> - 2026-07-16 12:48 +0100
Re: Hiding and revealing part of a window Martin <News04@avisoft.f9.co.uk> - 2026-07-16 13:26 +0100
Re: Hiding and revealing part of a window Harriet Bazley <harriet@bazleyfamily.co.uk> - 2026-07-16 14:26 +0100
Re: Hiding and revealing part of a window Bob Latham <bob@sick-of-spam.invalid> - 2026-07-16 14:50 +0100
Hiding and revealing part of a window Bob Latham <bob@sick-of-spam.invalid> - 2026-07-18 17:27 +0100
Re: Hiding and revealing part of a window Martin <News04@avisoft.f9.co.uk> - 2026-07-18 22:10 +0100
Re: Hiding and revealing part of a window Bob Latham <bob@sick-of-spam.invalid> - 2026-07-19 09:20 +0100
Re: Hiding and revealing part of a window Jean-Michel <jmc.bruck@orange.fr> - 2026-07-16 17:45 +0200
Re: Hiding and revealing part of a window Bob Latham <bob@sick-of-spam.invalid> - 2026-07-16 16:58 +0100
Re: Hiding and revealing part of a window Kevin Wells <kev@kevsoft.co.uk> - 2026-07-10 16:37 +0100
Re: Hiding and revealing part of a window Bob Latham <bob@sick-of-spam.invalid> - 2026-07-10 20:08 +0100
Re: Hiding and revealing part of a window Harriet Bazley <harriet@bazleyfamily.co.uk> - 2026-07-12 12:12 +0100
Re: Hiding and revealing part of a window Bob Latham <bob@sick-of-spam.invalid> - 2026-07-12 13:45 +0100
Re: Hiding and revealing part of a window Harriet Bazley <harriet@bazleyfamily.co.uk> - 2026-07-12 23:19 +0100
Re: Hiding and revealing part of a window Kevin Wells <kev@kevsoft.co.uk> - 2026-07-12 21:03 +0100
Re: Hiding and revealing part of a window Steve Fryatt <news@stevefryatt.org.uk> - 2026-07-15 20:26 +0100
Re: Hiding and revealing part of a window Kevin Wells <kev@kevsoft.co.uk> - 2026-07-17 21:06 +0100
Re: Hiding and revealing part of a window J Peachey <john@jpeachey.co.uk> - 2026-07-10 21:15 +0000
Re: Hiding and revealing part of a window Bob Latham <bob@sick-of-spam.invalid> - 2026-07-11 10:11 +0100
csiph-web