![]() |
Frame Option Masks |
Header: MacTextEditor.h |
Specifies features that apply to a text object.
enum { kTXNDrawGrowIconMask = 1, kTXNShowWindowMask = 2, kTXNWantHScrollBarMask = 4, kTXNWantVScrollBarMask = 8, kTXNNoTSMEverMask = 16, kTXNReadOnlyMask = 32, kTXNNoKeyboardSyncMask = 64, kTXNNoSelectionMask = 128, kTXNSaveStylesAsSTYLResourceMask = 256, kOutputTextInUnicodeEncodingMask = 512, kTXNDoNotInstallDragProcsMask = 1024, kTXNAlwaysWrapAtViewEdgeMask = 2048 };
Draws a grow icon at the bottom right corner of the frame.
Displays the window before returning from TXNNewObject. If you specify this option, you no longer need to call the ShowWindow function from the Window Manager; MLTE will do this for you.
frame.
Includes and manages a vertical scroll bar inside the frame.
allowed when the text being used is Unicode since you need TSM to input Unicode characters.
Sets the data in the text object to read-only.
Does not synchronize the keyboard with the font.
Does not display the insertion point.
Saves text style information as ‘styl resources; use for SimpleText compatibility. If you use 'styl' resources to save style info, your documents can have as many styles as youd like. However tabs are not saved. If you dont use this mask, plain text files are saved as 'MPSR' resources, and only the first style in the document is saved. (Your application is expected to apply all style changes to the entire document.) If you save files with an ‘MPSR resource, their output is similar to those output by CW IDE, BBEdit, and MPW.
Saves plain text save as Unicode.
Indicates you want to call the drag handlers for the drag events associated with this text object.
Always wraps words at the edge of the text objects view rectangle.
© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)