Download V+ Language User`s Guide, Ver. 13.0

Transcript
10
Graphics Programming
Creating Windows . . . . . . . . . . . .
ATTACH Instruction . . . . . . . .
FOPEN Instruction . . . . . . . . .
FCLOSE Instruction . . . . . . . . .
FDELETE Instruction . . . . . . . . .
DETACH Instruction . . . . . . . .
Custom Window Example . . . . .
Monitoring Events . . . . . . . . . . . .
GETEVENT Instruction . . . . . . . .
FSET Instruction . . . . . . . . . .
Building a Menu Structure . . . . . . . .
Menu Example . . . . . . . . . .
Defining Keyboard Shortcuts . . . .
Creating Buttons . . . . . . . . . . . . .
GPANEL Instruction . . . . . . . .
Button Example . . . . . . . . . .
Creating a Slide Bar . . . . . . . . . . .
GSLIDE Example . . . . . . . . . .
Graphics Programming Considerations . .
Using IOSTAT( ) . . . . . . . . . .
Managing Windows . . . . . . . .
Communicating With the System Windows
The Main Window . . . . . . . . .
The Monitor Window . . . . . . . .
The Vision Window . . . . . . . . .
Additional Graphics Instructions . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
V+ Language User’s Guide, Rev A
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
264
264
265
265
265
266
266
267
268
269
270
270
272
273
273
273
275
276
278
279
280
281
281
281
282
284
263