[net.micro.mac] icon in buttons

phil@sivax.UUCP (05/19/86)

I did the following to get icons in buttons  (In case anyone else was 
wondering how to do it VERY EASILY):

I defined icon resources in RESEDIT 1.0D12 that contained the ICON wanted
AND a button-looking box around them.

I then defined using RESEDIT, a dialog with the edit items referencing these
icons, marking them ENABLED.

When DRAWDIALOG or GETNEWDIALOG comes up, it automatically loads these icons
in the positions on the screen I want, and because of my boxes I put in them,
they look like buttons.  Since they are enabled (MODALDIALOG or DIALOGSELECT) 
will return their edit item numbers when clicked.

They do not highlight, but I do a keyclick type approach to tell the user they\
were activated.

Phil Hunt

PS.  Microsoft Fortran does not allow access to UserFilter Functions yet, so
the suggestions I recieved about using them are appreciated, but unavailable
to me.  Thanks for all the mail (Escpecially from APPLE) on solutions.

It is nice to know that we all look out for each other and can come to each
other's rescue on a problem.

Phil Hunt