home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Direkt 1995 #6
/
CDD_6_95.ISO
/
cdd
/
winanw
/
hawin
/
ssscroll.c
< prev
next >
Wrap
Text File
|
1994-12-07
|
905b
|
26 lines
/* This program, ssscroll.c, created by Hilgraeve and assigned to the Scroll lock */
/* button, toggles the scroll lock, as if you selected View|Scroll lock. */
/* $Revision: 1.1 $ */
/* $Date: 1994/11/08 11:59:45 $ */
/* 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 HyperACCESS */
ScriptHandle = haInitialize(0, 0, 0, 0);
/* Exit if intialization of link with HyperACCESS failed */
if (ScriptHandle == 0) exit();
/* Same as selecting View from the menu bar and Scroll lock from View menu */
haMenuString(ScriptHandle, "VS");
/* Terminate link between HyperACCESS and script program */
haTerminate(ScriptHandle, 0);
}