Activating Scoll Bars
Posted: January 10th, 1985, 10:15 pm
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!cbosgd!ihnp4!houxm!vax135!cornell!uw-beaver!info-mac
From: info-mac@uw-beaver (info-mac)
Newsgroups: fa.info-mac
Subject: Activating Scoll Bars
Message-ID:
Date: Wed, 28-Nov-84 21:35:38 EST
Article-I.D.: uw-beave.2356
Posted: Wed Nov 28 21:35:38 1984
Date-Received: Fri, 30-Nov-84 04:45:07 EST
Sender: root@uw-beave
Organization: U of Washington Computer Science
Lines: 16
From: [email protected] (Eric Olson)
I'm writing an application that needs scroll bars but doesn't use TextEdit.
All the examples I can find with scroll bars also use TE, which apparently
activates the scroll bars when needed. Inside Mac is vague about how to
activate/deactivate a control: this seems to be done with the HiliteControl
call. But HiliteControl works with a piece of the scroll bar (i.e., Thumb,
PageUp, PageDown, UpButton, and DownButton) at a time. I tried highlighting
nothing and highlighting the thumb, neither of these had any effect.
As it stands, I get my scrollbar from a resource file, and it displays just
fine but the grey region remains white (i.e., deactivated) and FindControl
ignores all mousing in the scrollbar.
How do I activate a scroll bar without TextEdit?
-Eric.
Posting-Version: version B 2.10 UW 5/3/83; site uw-beaver
Path: utzoo!watmath!clyde!cbosgd!ihnp4!houxm!vax135!cornell!uw-beaver!info-mac
From: info-mac@uw-beaver (info-mac)
Newsgroups: fa.info-mac
Subject: Activating Scoll Bars
Message-ID:
Date: Wed, 28-Nov-84 21:35:38 EST
Article-I.D.: uw-beave.2356
Posted: Wed Nov 28 21:35:38 1984
Date-Received: Fri, 30-Nov-84 04:45:07 EST
Sender: root@uw-beave
Organization: U of Washington Computer Science
Lines: 16
From: [email protected] (Eric Olson)
I'm writing an application that needs scroll bars but doesn't use TextEdit.
All the examples I can find with scroll bars also use TE, which apparently
activates the scroll bars when needed. Inside Mac is vague about how to
activate/deactivate a control: this seems to be done with the HiliteControl
call. But HiliteControl works with a piece of the scroll bar (i.e., Thumb,
PageUp, PageDown, UpButton, and DownButton) at a time. I tried highlighting
nothing and highlighting the thumb, neither of these had any effect.
As it stands, I get my scrollbar from a resource file, and it displays just
fine but the grey region remains white (i.e., deactivated) and FindControl
ignores all mousing in the scrollbar.
How do I activate a scroll bar without TextEdit?
-Eric.