[comp.sys.atari.st.tech] Working on an acc.

AAron@image.soe.clarkson.edu (AAron nAAs) (08/23/90)

In trying to get my object inside a window, I have gotten helpful response:

From article <884@ehviea.ine.philips.nl>, by leo@ehviea.ine.philips.nl (Leo de Wit):

[Stuf. del.]
> Here is how to use wind_calc() ...
[Stuf. del.]

Great, I'll check out your solution also!
I have gotten responses from gt1448b@prism.gatech.edu, cmedley@wam.umd.edu
  and sstreep@NeXT.COM also.

And I have had success using a form_center() then feeding it's results into
wind_calc(), and everything ends up centered, and fits correctly inside the
window's workspace.

I can even move it around, update it correctly (most of the time, but I will
question this later), but now I have a different problem.

****New problem:
I have created my own sliders and buttons inside my object, and would like
to know how I figure out when the user is clicking/dragging them.

I tried a form_do() (because I had used it before, and had success), but
being a desk accessory you can probably guess what happened.  It demanded
that I do something with my object, and wouldn't let me move or close the
window it was in, or other stuff desk accessorys are supposed to let you be
free to do....

My desk accessory resembles to some extent the control panel.

It is the STe sound panel, and it will get posted (source and all) as soon
as it is working)

AAron nAAs
AAron@sun.soe.clarkson.edu