Programming Guide



sm_jtop

Starts Panther

int sm_jtop(char *screen_name);
screen_name
The name of the first screen that your application displays.

Environment

C only

Returns

Description

sm_jtop must be called by all applications that use Panther. This function starts Panther and displays screen_name as a form. After the call to sm_jtop, Panther retains control until the user exits the application.

Panther calls various functions that handle all of the tasks required to control application flow—for example, opening the keyboard for input, opening and closing forms and windows, and processing all control strings.

If you do not use sm_jtop, you must write your own procedures to control application flow.