MetaClass: 3
Exported Message Ranges
|
GEOS SDK TechDocs
|
|
|
2 Utility Messages
|
3.1 Window Messages
MetaClass
exports a number of ranges of messages for use by its subclasses (such as
GenClass
and
VisClass
) for various purposes. In most cases, you will not need to use any of these ranges for your own messages. The names of these ranges, however, are listed below. For information on exporting and importing message ranges, see the GEOS Programming chapter.
-
MetaWindowMessages
These messages alert a window's input object and output descriptor to certain important events. For example,
MSG_META_EXPOSED
announces that part of a window has been exposed and needs to be redrawn.
-
MetaInputMessages
These are very low-level messages, and will only be used by those geodes which wish to circumvent the Input Manager. To work with the Input Manager correctly, see the selection messages in the MetaUIMessages range.
-
MetaUIMessages
These messages may be used by objects which will interact with the UI. While messages for working with the Input Manager and Clipboard are detailed in this chapter, information on other messages may be found in the Documents chapter. -
MetaSpecificUIMessages
These messages are internal.
-
MetaApplicationMessages
These messages don't have any meaning attached to them; no class defined in the system or any library has a handler for any of these messages. Any object class defined within an application may have a handler for any of these messages.
This message range was set up so that two or more classes defined within an application could agree on some message numbers.
Thus, your application could contain the header listed below, and then write handlers for the message in two completely unrelated application-defined classes:
@importMessage MetaApplicationMessages,
type0 MSG_MYAPP_DO_SOMETHING(
type1 arg1,
type2 arg2);
/* ... */
@method MyProcessClass, MSG_MYAPP_DO_SOMETHING
/* ...Insert Handler here */
/* ... */
@method MyDocumentClass, MSG_MYAPP_DO_SOMETHING
/* ...Insert Handler here */
-
MetaGrObjMessages
This message range is reserved for notification messages associated with the graphic object library.
-
MetaPrintMessages
For information on these messages, see the Printing chapter. -
MetaSearchSpellMessages
These messages are sent out by the SearchReplace and Spell controllers. For information on these messages, see the Text Objects chapter. -
MetaGCNMessages
There are several system-defined General Change Notification lists which objects may belong to. This message range holds those messages which will be sent to objects on system-defined lists.
-
MetaTextMessages
See the Text Objects chapter. -
MetaStyleMessages
See
.
-
MetaColorMessages
See the Controllers chapter. -
MetaFloatMessages
These messages are sent out by the FloatFormat controller. For information on these messages, see the Controllers chapter. -
MetaIACPMessages
These messages are used to communicate to other objects using the Inter-Application Communication Protocol. IACP is discussed in the Applications and Geodes chapter.
Window Messages
Input Messages
UI Messages
Standard GCN Messages
IACP Meta Messages
|
GEOS SDK TechDocs
|
|
|
2 Utility Messages
|
3.1 Window Messages