[comp.windows.x] viewport under program control

lindholm@cheddar.ucs.ubc.ca (George Lindholm) (11/21/90)

I have a viewport (with scrollbar) which I use to display new messages
periodically as they arrive. By the default the view is big enough to display
four messages. When the fifth message arrives, the scrollbar changes to
indicate the there is more information to displayed but the view remains
on the first four items. How do I get the viewport to automatically scroll
forward to that the new message appears? Thanks


lindholm@ucs.ubc.ca     George_Lindholm@mtsg.ubc.ca      USERGNL@UBCMTSG.BITNET
University of British Columbia Computing Services
6356 Agricultural Road, Vancouver, B.C.
Canada, V6T 1T7
(604) 228-4375