home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / acorn / tech / 667 < prev    next >
Encoding:
Internet Message Format  |  1992-11-17  |  2.2 KB

  1. From: kers@hplb.hpl.hp.com (Chris Dollin)
  2. Date: Mon, 16 Nov 1992 09:47:19 GMT
  3. Subject: Re: Windows and Pains :-) OK, Panes ...
  4. Message-ID: <KERS.92Nov16094719@cdollin.hpl.hp.com>
  5. Organization: Hewlett-Packard Laboratories, Bristol, UK.
  6. Path: sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!sdd.hp.com!apollo.hp.com!cupnews0.cup.hp.com!scd.hp.com!hpscdm!hplextra!otter.hpl.hp.com!hpltoad!cdollin!kers
  7. Newsgroups: comp.sys.acorn.tech
  8. References: <1992Nov13.151857.12151@waikato.ac.nz>,<KERS.92Nov13140216@cdollin.hpl.hp.com> <1992Nov14.210442.17053@infodev.cam.ac.uk>
  9. Sender: news@hplb.hpl.hp.com (Usenet News Administrator)
  10. Lines: 30
  11. In-Reply-To: crj10@phx.cam.ac.uk's message of Sat, 14 Nov 1992 21:04:42 GMT
  12. Nntp-Posting-Host: cdollin.hpl.hp.com
  13.  
  14. In article ... crj10@phx.cam.ac.uk (Clive Jones) writes:
  15.  
  16.   In article ..., kers@hplb.hpl.hp.com (Chris Dollin) writes:
  17.   > What is the *advantage* of defining a window to be a pane? I mean, when you
  18.   > move the parent window, you have to move the pane *yourself* -- the WIMP
  19.   > doesn't do it for you. What does making it a pane give you over making it
  20.   > an ordinary window and tracking opens of its logical parent?
  21.   > 
  22.   > I read the WIMP section of the PRM several times, looking for an answer, 
  23.   > some time ago, but found one not. Can anyone enlighten me?
  24.  
  25.    Look on page 1151 of the RO2 PRMs! Basically, panes *are* entirely up to the
  26.    application to handle. The pane bit is only used:
  27.  
  28.      To highlight the tool window if the pane gets input focus
  29.      To treat a pane as transparent if toggling the tool window's size
  30.  
  31.    The explanation also, incidentally, remarks that care should be exercised in
  32.    choosing the order of window opening to avoid unnecessary redraws...
  33.  
  34. Looks to me, then, that a summary of your answer is "none" [*1]. (I read p1151.
  35. Given all the other stuff you have to do, giving the main window the focus when
  36. inside the pane is no big deal. And what does it mean, ``treating the pane as
  37. tranparent when toggling''?)
  38.  
  39. [*1] Ie, there's no point in bothering with panes.
  40. --
  41.  
  42. Regards,    | "C gains much of its vaunted efficiency by employing a very
  43. Kers.       | powerful pre-processor, usually called a ``programmer''."
  44.