Generic FunctionPackage: common-graphicsToCDocOverviewCGDocRelNotesIndexPermutedIndex
Allegro CL version 6.2
Unrevised from 6.1

nc-event

Arguments: stream event-number button-state data frame-section

Starting in version 5.0, events are handled somewhat differently than in 3.0.2. Instead of specializing nc-event, you should specialize the new generic function named after the message, such as nc-right-mouse-down and nc-mouse-moved. These were only constants in 3.0.2 (corresponding to the message argument to nc-event) but they are now constants and generic-functions. nc-event is still called, as in 3.0.2, but it simply dispatches to the appropriate new function. All these functions take the same arguments as nc-event except the event-number argument. Argument list change: nc-event used to have six arguments. It now accepts only five. The time (sixth) argument is no longer passed because it was a performance drain and rarely if ever used. If you need the time, use the function GetMessageTime.

See cg-events.htm for information about event handling in Common Graphics.


Copyright (c) 1998-2002, Franz Inc. Oakland, CA., USA. All rights reserved.
Documentation for Allegro CL version 6.2. This page was not revised from the 6.1 page.
Created 2002.2.26.

ToCDocOverviewCGDocRelNotesIndexPermutedIndex
Allegro CL version 6.2
Unrevised from 6.1