Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

< Previous PageNext Page > Hide TOC

Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Miscellaneous Wired Actions and Operands

A few miscellaneous new actions and operands have been added in QuickTime 6.

In this section:

kQTEventKeyUp Event Type Added
Random Seed


kQTEventKeyUp Event Type Added

QuickTime 6 adds the kQTEventKeyUp event type that can be used in wired actions. It corresponds to key-up events on the keyboard. Applications may need to take special actions in order to receive key-up events (which are then passed to a movie controller using MCIsPlayerEvent). For example, Carbon applications that use the classic event model may need to call:

SetEventMask(everyEvent);

since by default the OS does not report key-up events to an application. Similarly, Carbon-event-based applications may need to register a handler for kEventRawKeyUp.

The movie controller also now supports the mcActionKeyUp action.

Random Seed

The following action can be used in conjunction with kOperandRandom.

kActionSetRandomSeed = 6164, /* long randomSeed */

Sets the QuickDraw seed value which is starting point for any subsequent kOperandRandom calls.



< Previous PageNext Page > Hide TOC


Last updated: 2002-07-01




Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice