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


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

Re: Hiding and revealing part of a window

From Bob Latham <bob@sick-of-spam.invalid>
Newsgroups comp.sys.acorn.programmer
Subject Re: Hiding and revealing part of a window
Date 2026-07-12 13:45 +0100
Organization None
Message-ID <5cf73c46c8bob@sick-of-spam.invalid> (permalink)
References <5cf61ef6a3bob@sick-of-spam.invalid> <8f5e44f65c.Kevin@Kevsoft> <5cf6579ccbbob@sick-of-spam.invalid> <14c133f75c.harriet@bazleyfamily.co.uk>

Show all headers | View raw


In article <14c133f75c.harriet@bazleyfamily.co.uk>,
   Harriet Bazley <harriet@bazleyfamily.co.uk> wrote:
> On 10 Jul 2026 as I do recall,
>           Bob Latham  wrote:

> > In article <8f5e44f65c.Kevin@Kevsoft>,
> > 
> > > Would the easiest option is to have 2 versions of the window,
> > > one with the basic options and one with the full options, just
> > > close the one you don't want amd open the other one in it's
> > > place?
> > 
> > That's a sneaky idea I do admit. The only issue I can see with
> > that is I'd have two window handles wouldn't I?
> > 
> Have a 'current' window handle in a variable, and set its value to
> either of the two versions according to which one you currently
> want your application to be using? (Or use an array(handle%,
> version%) and adjust the value of version%, but that would probably
> be harder to edit in to your existing program and more difficult to
> read thereafter....)

So at the point of swap over, I close one window, open the other in
same position hopefully and change the current window handle, is that
about it?

Not sure how fixed and embedded the window handle is in my code, I'll
need to have a look. It is an excellent cheat, though maybe best done
towards the end of the project to prevent duplication of work on the
window.

Thanks.

Bob.

Back to comp.sys.acorn.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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