Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.acorn.programmer > #6678
| From | Martin <News04@avisoft.f9.co.uk> |
|---|---|
| Newsgroups | comp.sys.acorn.programmer |
| Subject | Re: Hiding and revealing part of a window |
| Date | 2026-07-16 13:26 +0100 |
| Organization | None |
| Message-ID | <5cf949e5a9News04@avisoft.f9.co.uk> (permalink) |
| References | (2 earlier) <5cf627bdb6bob@sick-of-spam.invalid> <mpro.thz9x000u4xlm03ow.news@stevefryatt.org.uk> <5cf93cf94dbob@sick-of-spam.invalid> <5cf94257c7News04@avisoft.f9.co.uk> <5cf9465afdbob@sick-of-spam.invalid> |
In article <5cf9465afdbob@sick-of-spam.invalid>, Bob Latham <bob@sick-of-spam.invalid> wrote: > In article <5cf94257c7News04@avisoft.f9.co.uk>, > Martin <News04@avisoft.f9.co.uk> wrote: > > In article <5cf93cf94dbob@sick-of-spam.invalid>, > > Bob Latham <bob@sick-of-spam.invalid> wrote: > > If you have a fixed main window area, but sometimes you want to > > display another fixed area at the bottom of it, then I would > > think you need to alter the Visible Area displayed, not the Work > > Area (which Wimp_SetExtent does). > That makes sense to me, I understand that. > Surely, if you reduce the Extent then you reduce the work area and > therefore remove from the window definition all the items in the > area you've chopped. Changing the Visible area does not affect the Work area. Changing the Work area does not remove icons from the window definition (though can affect the visible area, which must be in the work area). Changing either can result in icons becoming invisible, if they are outside Visible or Work areas. The only connection between Visible and Work areas are the Scroll Offsets (which can make the brain hurt!) which determine which part of the Work Area is Visible. Enlarging Visible or Work areas can result in them becoming visible again. > [Snip] > > The change in Visible Area is done with a Wimp_GetWindowState, > > then change just the visible min Y value and nothing else, then > > issue an Wimp_OpenWindow. > Yes, I understand that too. > > However, if the main part of the window is of variable height, > > and/or you need the scroll bars, then this simple way will not > > work, as the extra bottom icons will need to move to the bottom of > > the window if the top part changes size. > Brain just exploded again. I can't understand that. > 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. If the main part of the window is fixed size, and small enough to display on the screen, why do you need scrollbars? If you REALLY need scrollbars for the main part of the window, it does become more complex. -- Martin Avison Note that unfortunately this email address will become invalid without notice if (when) any spam is received.
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