home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!munnari.oz.au!gisdev!cjw
- Newsgroups: comp.windows.open-look
- Subject: Mainting view on canvas resize
- Message-ID: <1992Sep4.190533.3723@darwin.ntu.edu.au>
- From: cjw@dme.nt.gov.au (Chris Wharton 95328)
- Date: 4 Sep 92 19:05:32 +0900
- Reply-To: cjw@dme.nt.gov.au
- Distribution: world
- Organization: Northern Territory Department of Mines & Energy
- Keywords: Xview
- Nntp-Posting-Host: gisdev.dme.nt.gov.au
- Lines: 19
-
- Can anyone tell me how to reposition the current center
- of a canvas paint window (by changing SCROLLBAR_VIEW_START i think).
- I am having difficulty with the relationship between the various
- SCROLLBAR_* attributes, and the portion of the paint window
- currently visible. When the user changes the size of the paint window
- i wish to recenter it around the current center, so the currently
- visible objects remain visible. Anyone ?
-
- Also, how can I ignore the repaint events generated by the resize ? They
- are generated for the old canvas size, and thus are for the wrong
- areas. I would prefer to ignore them all until all resizing, repositioning
- of scrollbars, etc. is completed, then just repaint the whole paint window.
-
- This is for a graphical application under development for the
- display of cadastral data. Any comments would be appreciated.
-
- - Chris.
-
-
-