The Vermont Views Clipboard

You can provide edit capabilities (cut, copy, and paste) to your users by installing the Vermont Views clipboard. To add the clipboard subsystem to your application, simply #include the header file vv_clip.h before vv_main.h in your main program.

The keyboard interface for performing edit actions is shown in Table 3.3.

Table 3.3: Clipboard Interface

Action Key (PCDOS, OS/2) Keycode
Cut Ctrl-X KEY_CX
Copy Ctrl-C KEY_CC
Paste Ctrl-V KEY_CV
Mark Ctrl-B KEY_CB
Cancel Esc KEY_ESC

If the mouse is enabled (PCDOS only), the mouse can be used to mark a region. To enable the mouse, #include vv_mouse.h.


Home Contents Previous Next