List Events

In the interface functions associated with the list's dragarea, scrollbar's dragarea, and up and down buttons, you must call various GIL list handlers.

In the list's dragarea function, call GShandlelist(), passing the GSlistHandle as the first parameter, and the x, y, and status variables as the last three parameters. The scroll bar's dragarea function is similar: call GShandlesclist(), and pass the GSsclistHandle along with x, y, and status.

In the up button's function, call GShandleupbutton(sclist_handle), where sclist_handle is the list's GSsclistHandle. In the down button's function, call GShandledownbutton(sclist_handle);

back forward