Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.acorn.programmer > #6676
| 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 12:04 +0100 |
| Organization | None |
| Message-ID | <5cf94257c7News04@avisoft.f9.co.uk> (permalink) |
| References | <5cf61ef6a3bob@sick-of-spam.invalid> <5cf62095ccNews04@avisoft.f9.co.uk> <5cf627bdb6bob@sick-of-spam.invalid> <mpro.thz9x000u4xlm03ow.news@stevefryatt.org.uk> <5cf93cf94dbob@sick-of-spam.invalid> |
In article <5cf93cf94dbob@sick-of-spam.invalid>, Bob Latham <bob@sick-of-spam.invalid> wrote: > In article <mpro.thz9x000u4xlm03ow.news@stevefryatt.org.uk>, > Steve Fryatt <news@stevefryatt.org.uk> wrote: > > On 10 Jul, Bob Latham wrote in message > > <5cf627bdb6bob@sick-of-spam.invalid>: > My extra panel is at the bottom of the window. So I assume this is > the minimum y settings. > So I create a window in WinEd that contains all elements including > the icons at the bottom which are usually hidden. > Okay done that. > > Adjust the data block for Wimp_OpenWindow (including the scroll > > offsets), > Adjust which parameters? What am I trying to achieve doing this? > > call Wimp_OpenWindow, > Okay. > > then call Wimp_SetExtent. > To do what? > What am I trying to achieve doing this? > Sorry to be thick but I can't understand the principle of what > you're telling me to do. I need to understand before I can code > something. I am confused as well! 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). Create a window with two icons in WinEd, vertically spaced. Then Menu => Work Area => Minimise & Update you will see the work area X1 & Y1 shrink, and the scroll bars on the new window expand to fill the bar. But the DISPLAYED window does not change - you still see the two icons. If you now use Menu => Visible Area and reduce the Height by 50%, when you click on Move the visible window will halve in height, and you will probably only be able to see the top icon. Change the Visible height back to the original, and you will see both icons again. 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. 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. -- 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