🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #13785

Scroll bars in Modal Dialogs

#13785
From: Michael Maggio
Date: Thu, 13 Nov 1986 17:20
19 lines
1197 bytes
I have been having trouble trying to get a simple
scroll bar to function in a modal dialog.  I use
Resedit to define the dialog and the scroll bar,
then in my code (LightspeedC) I define my control
routine to increment/decrement by a certain number
depending on the partcode (uparrow, downarrow, etc.)
When I run the program, the thumb bar can be moved,
but if I press another part of the control, then try
to move the thumb, I get into trouble...

Im sorry this description is sketchy, but I would appreciate
ANY suggestions on whats wrong or how to do a scroll
bar in general.  By the way, why doesn't the "default"
routine for a scroll bar handle the arrows?

Thanks for any suggestions....

-- 
Michael David Maggio 
Technical Details
Message-ID: <636@bunny.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!husc6!harvard!bunny!mdm0

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!husc6!harvard!bunny!mdm0
From: mdm0@bunny.UUCP (Michael Maggio)
Newsgroups: comp.sys.mac
Subject: Scroll bars in Modal Dialogs
Message-ID: <636@bunny.UUCP>
Date: Thu, 13-Nov-86 12:20:04 EST
Article-I.D.: bunny.636
Posted: Thu Nov 13 12:20:04 1986
Date-Received: Thu, 13-Nov-86 22:02:08 EST
Distribution: na
Organization: GTE Laboratories, Waltham, MA.
Lines: 19