🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Andy Deitsch Tue, 25 Sep 1990 20:31
Scrolling & Resizing
#1
Author: Andy Deitsch
Date: Tue, 25 Sep 1990 20:31
21 lines
1307 bytes
I am new to Xview and am having a problem resizing and scrolling.  I can
either scroll or resize but not both.  

In order to control the scrolling, I have interposed on the scroll events.
When the program starts, everything is fine.  I can zoom in and out, and
scroll.
As soon as I resize however, things begin to happen.

Tracing through the program I have determined that after leaving the
CANVAS_RESIZE_PROC, a scroll event occurs and my scroll event handler
gets called.  Between the time the CANVAS_RESIZE_PROC exits and the scroll
event handler executes its first line, the SCROLLBAR_OBJECT_LENGTH and
SCROLLBAR_VIEW_LENGTH get modified!  This is apparently what is messing things
up, however I'm not sure how to fix it.

Any suggestions will be helpful.

Thanx in advance...
Andy Deitsch
 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads