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


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

Re: Nested window question

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!news.musoftware.de!wum.musoftware.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From Martin Wuerthner <spamtrap@mw-software.com>
Newsgroups comp.sys.acorn.programmer
Subject Re: Nested window question
Date Tue, 22 Nov 2011 16:51:50 +0100
Organization MW Software
Lines 24
Message-ID <b866323652.martin@bach.planiverse.com> (permalink)
References <6fb1233652.rik-news@iyonix.elements>
X-Trace individual.net Obq7oZYBpPf0G0uovZiVhgDKM/csc1TP3/Qlyt3ceiryc13fWy
X-Orig-Path bach.planiverse.com%martin
Cancel-Lock sha1:Ayw45HSR/GmLrkMFQnqE4M0erYg=
X-Editor EmailEdit 6.00
User-Agent Messenger-Pro/6.03 (MsgServe/6.00) (RISC-OS/5.16) NewsHound/v1.50-32
Xref x330-a1.tempe.blueboxinc.net comp.sys.acorn.programmer:1057

Show key headers only | View raw


In message <6fb1233652.rik-news@iyonix.elements>
          Rik Griffin <nospam@denbridgemarine.com> wrote:

> Imagine an application with a window, within which is nested another
> window. Lets call the parent window 'A' and the nested child 'B'.

> I want A's scroll bar[s] to scroll window B, without scrolling window A.
> They'd both have to have the same extent in the relevant direction, but
> that's easy enough to arrange.

> Is this possible, and if so can someone give me a clue how to go about it?

You can do that by creating A without a scroll bar and adding another 
nested window C that is just a scroll bar located at the position 
where A's scroll bar would normally be. Then, when you get open (or 
scroll) requests for C, you open both C and B at the given scroll 
position.

-- 
Martin
---------------------------------------------------------------------
Martin Wuerthner         MW Software      http://www.mw-software.com/
        RISC OS Software for Design, Printing and Publishing
---------------------------------------------------------------------

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


Thread

Nested window question Rik Griffin <nospam@denbridgemarine.com> - 2011-11-22 13:11 +0000
  Re: Nested window question Martin Wuerthner <spamtrap@mw-software.com> - 2011-11-22 16:51 +0100
    Re: Nested window question Rik Griffin <rik.griffin@btinternet.com> - 2011-11-23 13:54 +0000
    Re: Nested window question Gerph <gerph@gerph.org> - 2011-11-24 13:55 -0800
      Re: Nested window question Rik Griffin <nospam@denbridgemarine.com> - 2011-11-25 09:50 +0000

csiph-web