home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: in1.uu.net!utcsri!utgpu!utinfo!news
- From: Norman Baccari <normb@gpu.utcc.utoronto.ca>
- Subject: Window BackFill-Resize Hook ??
- X-Nntp-Posting-Host: control3.utcc.utoronto.ca
- Content-Type: text/plain; charset=us-ascii
- Message-ID: <DKwzsK.6G4@utcc.utoronto.ca>
- Sender: news@utcc.utoronto.ca (News)
- Content-Transfer-Encoding: 7bit
- Organization: UTCC Campus Access
- Mime-Version: 1.0
- Date: Tue, 9 Jan 1996 12:53:07 GMT
- X-Mailer: Mozilla 1.22 (Windows; I; 16bit)
-
-
- I wonder if anyone can comment on the following idea I had
- and see if there would be any flaws in actually doing this.
- Given 2 situations where A) we use a WA_Backfill hook for a
- window and B) we have a resizeable window where the gadget
- positioning would need to be adjusted on an IDCMP NewSize,
- would it not be possible to combine the two. For example
- using the BackFill hook function, first remove the gadgets,
- do the backfill render (no need to clear old gadget images),
- calculate the new gadget positions and then build and refresh
- gadgets. Seems like this would be a more efficient way to
- have resizing. No need to listen for NewSize messages. What
- problems might I encounter in doing something like, if it could
- be done that is.
-
- Thanks
-
- Norm.
-
-
- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
- Norman Baccari normb@gpu.utcc.utoronto.ca Toronto,Ontario Canada
- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-
-
-