
Lattice C Example
#include<dos.h>
set__zoom__ window(window)
int win d o w [];
{
union REGS in,out;
in.x.ax = 6;
in.x.bx = getdatas();/* Data segment of window[] */
in.x.cx = (int) window;
int86(zoom__int,&in,&out);
Query Application. .Key.
Function Code
AX = 7
Arguments
None
Returns
AX = 0/1
Description
In
specify mode the END key on the keypad has been reserved
for application specific functions.
This function returns the
current toggle state of that key.
This
key has been used in the AutoCAD driver for example, to
tell
the AutoCAD driver whether or not to pan and scroll using
the mouse.
When the value returned is a 1 the display window
is
left alone.
When the value returned by this function is a
0
the AutoCAD driver will invoke the Center Zoom Window
function each time a new cross-hair cursor is drawn.
This has
the effect of panning the display using the mouse or the
keyboard.
Lattice C Example
#include<dos.h>
q__end__key ( )
{
uninon REGS in,out;
in.x.ax = 7;
int86(zoom__int,&in,&out);
return(o u t .x .a x );
-63-
Summary of Contents for Qtec VGA 1024
Page 1: ......
Page 2: ......
Page 4: ......
Page 8: ......
Page 9: ...INSTALLATION ...
Page 10: ......
Page 33: ...SOFTWARE UTILITIES ...
Page 34: ......
Page 48: ......
Page 49: ...SOFTWARE DRIVERS ...
Page 50: ......
Page 68: ......
Page 69: ...FOR SOFTWARE DEVELOPERS ...
Page 70: ......
Page 104: ......
Page 105: ...HARDWARE REFERENCE ...
Page 106: ......
Page 111: ...SERVICE ...
Page 112: ......
Page 118: ......
Page 119: ......
Page 120: ......
Page 121: ......
Page 122: ......
Page 123: ......