home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / acorn / tech / 656 < prev    next >
Encoding:
Text File  |  1992-11-16  |  1013 b   |  30 lines

  1. Newsgroups: comp.sys.acorn.tech
  2. Path: sparky!uunet!pipex!warwick!nott-cs!unicorn.nott.ac.uk!rsxdp
  3. From: rsxdp@unicorn.nott.ac.uk (D.Pead)
  4. Subject: Re: Windows and Pains :-) OK, Panes ...
  5. Message-ID: <1992Nov16.173503.15592@cs.nott.ac.uk>
  6. Sender: news@cs.nott.ac.uk
  7. Organization: Shell Centre for Maths Education, University of Nottingham
  8. References: <1992Nov13.151857.12151@waikato.ac.nz> <1992Nov15.065533.10397@microsoft.com>
  9. Date: Mon, 16 Nov 92 17:35:03 GMT
  10. Lines: 18
  11.  
  12. My technique for opening panes is, on getting the redraw request:
  13.  
  14. 1. <behind>= "handle of window to open behind" field from open request
  15.  
  16. 2. Calculate position of Pane 1 (don't corrupt data for main window)
  17. 3. Open Pane 1 behind <behind>
  18. 4. <behind> = Pane 1 handle
  19.  
  20. 5. Repeat steps 2-4 for subsequent panes
  21.  
  22. 6. Open main window behind <behind>
  23.  
  24. Oh yes - ignore "Open Window Requests" for panes.
  25. This seems to work without any flickering, although "solid drags"
  26. of a window+pane combination are never quite as smooth as a single
  27. window.
  28.  
  29.  
  30.