Path: utzoo!mnetor!uunet!husc6!hao!gatech!hubcap!ncrcae!ncr-sd!hp-sdd!ucsdhub!jack!wolf!uzun From: uzun@wolf.UUCP (Roger Uzun) Newsgroups: comp.sys.amiga Subject: Scroll Bars in SuperBitMaps Message-ID: <616@wolf.UUCP> Date: 14 Jan 88 03:03:43 GMT Organization: Systems'n'Software San Diego, CA Lines: 42 Keywords: Scroll Proportional Gadgets SPAM Super Bitmap Duper PitTrap I am trying to add scroll bars to a SuperBitmap Window that opens up fine otherwise. All I get are Gurus when I add the ptr to the linked list of Gadgets with my 2 Proportional Gadgets (scrollbars) in it. All I am doing currently is initializing the following data structures and Opening the window as normal with its gadgetlist ptr pointing to my myGadgetList as detailed below. Structures I use: struct PropInfo HScrollBar = { FREEHORIZ | AUOTKNOB, 0,0, 0XFFFF,0XFFFF, 0,0,0,0,0,0}; {..LIKEWISE EXCEPT WITH FREEVERT FOR VScrollBar .. }; struct Gadget myGadgetList[] = { {&myGadgetList[1], 0,0,1024,10, /* size of super bitmap is 1024 wide */ GADGHNONE | GADGBORDER | GRELBOTTOM, BOTTOMBORDER | RELVERIFY | GADGIMMEDIATE, PROPGADGET, NULL, NULL, NULL, 0X0, (APTR)&HScrollBar, 1, NULL}, {...Basically same for Vertical bar..}; Any ideas on what I am doing wrong? I imagine I am not initializing a necessary structure or something. Any help would be greatly appreciated. Thanks -Roger BOTTOMBORDER |