[comp.sys.amiga.programmer] Workbench Object Manipulation

mcuddy@rutabaga.Rational.COM (Mike Cuddy) (02/06/91)

Hi there.

I'm working on a C compiler front end for the workbench and I'm trying to
represent things with workbench objects (source files, etc.)  

I want the user to be able to pick up and drag source files onto a compiler
icon, double click on source file icons to edit them, etc..

Is there any way to get access to workbench's object manipulation routines?

I have seen other programs do this (GoldDisk's Desktop Budget for example).. 
Did they write thier own repica routines? It seems like re-inventing the wheel!

I could use 'drag' gadgets from the InnovaTools program if I have to but
I'd rather use 'real' workbench objects.  

--Mike Cuddy (mcuddy@Rational.com)
"...He's a UNIX hack and he's okay, he works all night and he sleeps all day..."

pochron@rt6.cs.wisc.edu (David Pochron) (02/09/91)

Forget about trying to get into the current Workbench environment and all its
"hidden" structures.  It would be a real pain (if possible at all, even) and
highly illegal (code-wise) to do so.

I think (though I am not sure) you can do just what do described in 2.0 - 
I think there is a feature where you can drag an icon over another icon and
have Workbench wake up a sleeping process.

Perhaps someone with more info will post a follow-up.

-- 

       -- David M. Pochron   | "Life's a blit,
                             |  and then you VBI."
pochron@garfield.cs.wisc.edu |