Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!caen.engin.umich.edu!rpitt From: rpitt@caen.engin.umich.edu (Raymond Jeczen Pittman) Newsgroups: comp.sys.mac.programmer Subject: scroll bar problem Keywords: programming issue Message-ID: <425ca822.1285f@maize.engin.umich.edu> Date: 1 Apr 89 01:02:00 GMT Distribution: usa Organization: U of M Engineering, Ann Arbor, Mich. Lines: 39 Here's a question for ya: i I am writing an application that uses multiple windows and I would like to know how I can access the control list in the window record to reference a particular controlhandle such as the scroll bars. I don't declare my scroll bar handles globally, I like to keep it dynamic. The control is declared locally in a procedure but the control is tagged to the window with the NewControl rom call. (My routine only passes the window ptr into this procedure. Any ideas? Is this approach the 'mac standard' from a commercial perspective? Or is there an entirely different, easier, more efficient way of setting this up? Thanks. R.J. Pittman rpitt@caen.engin.umich.edu :wq