Carbon


Key Filter Result Codes

Header: Controls.h

enum {
    kControlKeyFilterBlockKey = 0,
    kControlKeyFilterPassKey = 1
};

Constant descriptions

kControlKeyFilterBlockKey

The keystroke is blocked and not received by the control.

kControlKeyFilterPassKey

The keystroke is filtered and received by the control.

Your key filter function returns these constants to specify whether or not a keystroke is filtered or blocked.


© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)