home *** CD-ROM | disk | FTP | other *** search
- /* This program, ssscroll.c, created by Delrina and assigned to the Pause */
- /* button, toggles the scroll lock, as if you selected On-Line|Pause Text Scroll. */
-
- /* $Revision: 1.0 $ */
- /* $Date: 26 Apr 1993 15:21:28 $ */
-
- /* Define main function, which is always the starting point of C programs. */
- /* (The term "void" indicates that the function returns no value.) */
- void main ()
- {
- /* Declares a variable and initializes it to zero. */
- long ScriptHandle = 0;
-
- /* Establish a link between this script program and Delrina WinComm PRO */
- ScriptHandle = dcInitialize(0, 0, 0, 0);
-
- /* Exit if intialization of link with Delrina WinComm PRO failed */
- if (ScriptHandle == 0) exit();
-
- /* Same as selecting On-Line from the menu bar and Pause... from the On-Line menu */
- dcMenuString(ScriptHandle, "OA");
-
- /* Terminate link between Delrina WinComm PRO and script program */
- dcTerminate(ScriptHandle, 0);
- }
-