Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10 UW 5/3/83; site uw-beaver
Path: utzoo!watmath!clyde!burl!ulysses!mhuxj!mhuxn!houxm!vax135!cornell!uw-beaver!info-mac
From: info-mac@uw-beaver (info-mac)
Newsgroups: fa.info-mac
Subject: Re: Activating scroll bars
Message-ID: <2428@uw-beaver>
Date: Tue, 4-Dec-84 04:03:52 EST
Article-I.D.: uw-beave.2428
Posted: Tue Dec  4 04:03:52 1984
Date-Received: Tue, 4-Dec-84 23:52:08 EST
Sender: daemon@uw-beave
Organization: U of Washington Computer Science
Lines: 19

From: Lawrence You 
After getting the control from the resource, the scroll bar's maximum and
minimum values may be the same, causing the effective control range to
be zero.  If, in fact, these values are the same, then the scroll bar
will be white.  To test/set the scroll bar's maximum and minimum, use
something like this:

	scrollMax := GetCtlMax(myScrollBar);
	scrollMin := GetCtlMin(myScrollBar);

	(set the min. to 0, set the max to 99:)
	SetCtlMax(myScrollBar, 99);
	SetCtlMin(myScrollBar, 0);

Personally, I use "HideControl" and "ShowControl" to make the scroll
bar go white when the window is deactivated.

			--Lawrence
-------