[comp.sys.mac.programmer] How to write dialogs in an application

kim@wayne.UUCP (Kim Helliwell) (09/07/88)

I have written several dialogs for an Mac application I am working on.
For each dialog, I have to write a separate routine to handle it, making
sure that it is tailored to the particular item list in the dialog, and
so on.  I often have to switch back and forth between ResEdit and LSC to
get everything matched up correctly.  Whenever I am working on a dialog,
the recurring thought I get is that there must be an easier way to do
this.  Am I missing something here? Has anyone found an easier way?  
Would you be willing to share it with the net?  


-- 

"Never let work interfere with your reasons for working."

Kim Helliwell

ech@poseidon.UUCP (Edward C Horvath) (09/07/88)

From article <241@wayne.UUCP>, by kim@wayne.UUCP (Kim Helliwell):
! I have written several dialogs for an Mac application I am working on.
! For each dialog, I have to write a separate routine to handle it, making
! sure that it is tailored to the particular item list in the dialog, and
! so on.  I often have to switch back and forth between ResEdit and LSC to
! get everything matched up correctly.  Whenever I am working on a dialog,
! the recurring thought I get is that there must be an easier way to do
! this.  Am I missing something here? Has anyone found an easier way?  
! Would you be willing to share it with the net?  

There has been a start at "application generators," e.g. SmethersBarnes'
Prototyper.  It's flawed, it only goes so far, it doesn't generate C yet,
and a host of other gripes, but it's a noble effort, and a start.  See
also MacApp, which has different limitations.

Yes, Virginia, there IS progress.  It's just slow, and sometimes difficult
to recognize...

=Ned Horvath=