home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / windows / openloo / 3725 < prev    next >
Encoding:
Internet Message Format  |  1992-09-03  |  1.3 KB

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