Path: utzoo!utgpu!water!watmath!clyde!rutgers!rochester!ur-tut!dpvc From: dpvc@ur-tut.UUCP (Davide P. Cervone) Newsgroups: comp.sys.amiga Subject: Re: Scroll Bars in SuperBitMaps Keywords: Scroll Proportional Gadgets SPAM Super Bitmap Duper PitTrap Message-ID: <844@ur-tut.UUCP> Date: 19 Jan 88 22:22:33 GMT References: <616@wolf.UUCP> <617@wolf.UUCP> Reply-To: dpvc@tut.cc.rochester.edu.UUCP (Davide P. Cervone) Organization: Univ. of Rochester Computing Center Lines: 23 In article <617@wolf.UUCP> uzun@wolf.UUCP (Roger Uzun) writes: > Anyone know how >I can initialize the Border structure and its vectors for >ScrollBars? Am I missing something else? (besides stuff to >respond to the gadget events and scroll the window). Scroll bars that have AUTOKNOBs must have their GadgetRender field point to an Image structure. Intuition initializes and maintains this structure itself, as I recal, so you won't have to do anything but allocate space for it and link it into your gadget. Each scroll bar needs to have its own. I believe that intuition uses this structure to make the rectangular knob (its width and height seem to indicate this). Hope this helps. >Thanks in advance Your welcome >-Roger Davide P. Cervone dpvc@tut.cc.rochester.edu