Carbon


Frame Option Bits

Header: MacTextEditor.h

Defines “Frame Option Masks”.

enum {
    kTXNDrawGrowIconBit = 0,
    kTXNShowWindowBit = 1,
    kTXNWantHScrollBarBit = 2,
    kTXNWantVScrollBarBit = 3,
    kTXNNoTSMEverBit = 4,
    kTXNReadOnlyBit = 5,
    kTXNNoKeyboardSyncBit = 6,
    kTXNNoSelectionBit = 7,
    kTXNSaveStylesAsSTYLResourceBit = 8,
    kOutputTextInUnicodeEncodingBit = 9,
    kTXNDoNotInstallDragProcsBit = 10,
    kTXNAlwaysWrapAtViewEdgeBit = 11
};

Constant descriptions

kTXNDrawGrowIconBit

Indicates a window should have a grow icon.

kTXNShowWindowBit

Indicates the window should be displayed.

kTXNWantHScrollBarBit

Indicates horizontal scroll bar.

kTXNWantVScrollBarBit

Indicates vertical scroll bar.

kTXNNoTSMEverBit

Indicates not to use Text Services Manager.

kTXNReadOnlyBit

Indicates read-only.

kTXNNoKeyboardSyncBit

Indicates keyboard synchronization.

kTXNNoSelectionBit

Indicates not to show the insertion point.

kTXNSaveStylesAsSTYLResourceBit

Indicates text style should be saved as a ‘styl’ resource.

kOutputTextInUnicodeEncodingBit

Indicates plain text should be saved as Unicode.

kTXNDoNotInstallDragProcsBit

Indicates you want to call drag handlers.

kTXNAlwaysWrapAtViewEdgeBit

Indicates line wrap at edge of view rectangle.


© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)