PhAB custom code

I’ve created my base app, dialog, buttons etc, and want to start adding my
actual application code. Would I be correct in thinking that a good place
for my ‘startup’ code would be by specifying code (startup.c) in the
‘opening window’ resource of my base ?

also, if - for whatever reason - my custom code encounters a problem, is
there an “easy” or standard way of displaying a simple dialog indicating a
failure and closing down the app?

thanks in advance,
-pete.

http://home.attbi.com/~petegray/

Hello Pete,

I would recommend going throught the tutorials found in the helpviewer.
These can be found by running a search in the helpviewer for “Tutorials”

Hope this helps,

Regards,
Dave B.

Pete Gray wrote:

I’ve created my base app, dialog, buttons etc, and want to start adding my
actual application code. Would I be correct in thinking that a good place
for my ‘startup’ code would be by specifying code (startup.c) in the
‘opening window’ resource of my base ?

also, if - for whatever reason - my custom code encounters a problem, is
there an “easy” or standard way of displaying a simple dialog indicating a
failure and closing down the app?

thanks in advance,
-pete.

http://home.attbi.com/~petegray/