Enabling a Mouse

To get full mouse functionality in your application, you need to do the following:

1 Include the system header file vv_mouse.h before vv_main.h in your main program. This header file enables the mouse by installing the mouse handler and the event table entries required for mouse actions.
2 Put borders on all windows that the user can resize or drag. The resize and drag operations require the user to click on the border to start the operation.
3 Set the appropriate mouse options for each window. Mouse options are discussed below.


Home Contents Previous Next