info-mac@uw-beaver (info-mac) (11/29/84)
From: olson@harvard.ARPA (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.