Glossary T

tab control

A common control used to present multiple pages of information or controls to a user; only one page at a time can be displayed. A tab control is analogous to the dividers in a notebook or the labeled folders in a file cabinet. Tab controls imply a peer or logical relationship between each page of information. See also property sheet.

tab order

The order in which the TAB key moves the input focus from one control to the next within a dialog box. Usually, the tab order proceeds from left to right in a dialog box, and from top to bottom in a radio group.

tab stop

One of the points in a line of text or a control in a group of controls (in a dialog box, for example) that the user can move to by pressing the TAB key. See also tab order.

tab-delimited report

A data file in which the elements are separated by tab characters.

tag

  1. In C/C++, an optional identifier are part of structure, union, and enumeration type specifiers and, if present, always immediately follow the reserved words struct, union, or enum. The tag names must be distinct from all other structure, enumeration, or union tags with the same visibility.

  2. Text in angle brackets that represents HTML markup. Web browsers display text and graphic elements based on the tags an author uses. The tag itself is not displayed by the browser.

tail

The last element in a linked list.

TAPI

A set of functions that is part of the Win32 API that lets a computer communicate directly with telephone systems.

target

The objective, or destination, of a computer command or operation. For example, the target machine in a remote debugging operation is the machine running the application that is being debugged.

task handle

One of two handles that Windows creates for each task running in the system. The task handle is the handle to the task database (TDB), which contains information about the task's queue, module handle, and so forth. See also instance handle.

TCP/IP

A set of transport protocols for the Internet that provides both connection-oriented  (TCP) and connectionless (IP) data transfer. Commonly made up of four protocols: IP, TCP, UDP, and ICMP. See also transport protocol, User Datagram Protocol (UDP).

Telephony Application Programming Interface

A set of functions that is part of the Win32 API that lets a computer communicate directly with telephone systems.

teletype network

Terminal-emulation protocol for remote login over the Internet. Also refers to a UNIX program that uses the protocol (often written TELNET in that case).

telnet

Terminal-emulation protocol for remote login over the Internet. Also refers to a UNIX program that uses the protocol (often written TELNET in that case).

template

  1. In C++, a keyword that allows polymorphism with respect to different types, by passing the data type as a parameter to the code body.

  2. More generally, a form or blueprint for an object that contains information about the default properties of that object. For example, a Microsoft Word document template may contain text, formatting, and graphics information as well as macros and AutoText entries.

template class

A C++ class that is instantiated by providing a specific data (or class) type to a template. The compiler builds a class to process data of that type according to the specifications of the template. The Microsoft Foundation Class Library uses template classes to implement the standard collection classes.

temporary object

An object that is created when needed and destroyed after the reference object to which it is bound is destroyed.

temporary window

A window that an application creates for some temporary purpose. For example, a dialog box is a temporary window created to receive user input.

termination

The ending of a thread, process, or program.

termination functions

Functions called internally by MFC member functions when there is a fatal error, such as an uncaught exception that cannot be handled. In MFC, AfxAbort is the default termination function. The C/C++ Run-Time Library provides the _abort( ) function for non-MFC code. Most dynamic-link libraries register termination functions as well.

termination handler

A mechanism by which a developer ensures that a block of termination code is executed, so that resources such as memory, handles, and files are properly closed regardless of how a section of code finishes executing. A termination handler consists of a guarded body of code and a termination block. See also C++ exception handling, structured exception handling (SEH), try block.

ternary operator

An operator that takes three operands — for example, the conditional-expression (? :) operator in C/C++. See also binary operator, unary operator.

text editor

A program used to manage, edit, and print text files.

text file

A human-readable file composed of text characters. A text file is usually identified by a file extension of .TXT. See also binary file, rich-text format file.

text mode

One of two modes for file I/O operations specified in the file-opening function. In text mode, control characters that specify the end of a line are normalized during I/O operations. In binary mode, no translation occurs.

text-alignment flag

An indicator that determines how text output functions position a string of text on a display or device.

thread

The basic entity to which the operating system allocates CPU time. A thread can execute any part of the application's code, including a part currently being executed by another thread. All threads of a process share the virtual address space, global variables, and operating-system resources of the process.

thread local storage

A Win32 mechanism that allows multiple threads of a process to store data that is unique for each thread. For example, a spreadsheet application can create a new instance of the same thread each time the user opens a new spreadsheet. A dynamic-link library that provides the functions for various spreadsheet operations can use thread local storage to save information about the current state of each spreadsheet (row, column, and so on).

thread switch

A change of context from one thread to another, either inside a single process or across processes.

three-state check box

A square box button control that can have one of three states, usually checked, unchecked (cleared), or indeterminate (grayed).

throw expression

In C++, a statement that transfers program control to a catch block in order to handle an exception. See also C++ exception handling, catch block, try block.

thumbnail representation

  1. Or thumbnail view. In OLE, the reduced image of a document stored within an OLE compound file.

  2. In general, a greatly reduced version of an image that contains just enough detail for the image to be recognizable. Thumbnails are often used in a gallery view to allow the user to browse and select from a collection of images.

thunk

A small section of code that performs a translation or conversion during a call or indirection. For example, a thunk is used to change the size or type of function parameters when calling between 16- and 32-bit code.

time-out value

Or time-out delay. The maximum amount of time one entity will wait for another entity to complete a transaction. For example, in ODBC a query time-out value determines the amount of time the database engine will wait for a query's action to complete.

timer identifier (ID)

A value that identifies a timer or the events associated with a timer.

timestamp

A value that specifies the time data was created, modified, accessed, or received. In files, the timestamp may also specify when the data was committed to disk.

TLS

A Win32 mechanism that allows multiple threads of a process to store data that is unique for each thread. For example, a spreadsheet application can create a new instance of the same thread each time the user opens a new spreadsheet. A dynamic-link library that provides the functions for various spreadsheet operations can use thread local storage to save information about the current state of each spreadsheet (row, column, and so on).

token

  1. In a source program, the basic element recognized by a compiler. Keywords, identifiers, constants, string literals, and operators are examples of tokens.

  2. A group of security attributes created when a user logs on to the operating system. See also access token, primary token, impersonation token, privilege, security identifier (SID).

tool tip

A tiny pop-up window that presents a short description of a toolbar button's action. Tool tips are displayed when the user positions the mouse over a button for a period of time.

toolbar

A control bar based on a bitmap that contains a row of button images. These buttons can act like pushbuttons, check boxes, or radio buttons. See also dialog bar, status bar.

top-level window

A window that has no parent window, or whose parent is the desktop window.

topmost window

The window that overlaps all the other windows even if it is not the active or foreground window.

trace message

Or trace output. An error or diagnostic message employed in debugging to provide information about where in the program execution a problem occurred. In some cases, trace output can provide advance warning about problems that are about to occur.

tracker

In OLE, a border, or adornment, for OLE items that provides a visual cue about the current status of the item. By using different tracker styles, OLE items can be displayed with hatched borders, resize handles, or a variety of other visual effects.

tracking

  1. In user-interface control, to cause an on-screen displayed symbol, such as a pointer, to match the movements of a mouse or other pointing device.

  2. In data management, to follow the flow of information through a manual or an automated system (a tracking tool).

  3. In data storage and retrieval, to follow and read from a recording channel on a disk or a magnetic tape.

  4. In general, the act of following a path.

tracking size

The window size (maximum or minimum) that the user can produce by dragging a sizing border or splitter bar.

trail byte

In a double-byte or multibyte character set, the second byte of a two-byte character. See also lead byte.

transacted mode

A file-access mode that buffers all changes to a document and writes the changes to disk or discards them only when an explicit commit or revert request occurs. In this way, the original file can be reverted to. See also direct mode, rollback, transaction.

transaction

In data management, a means of completing an "all or nothing" series of changes to a file. If one change fails, or if there is a system failure during the transaction, the file reverts back to its original state before the transaction began. See also rollback.

transient

In Java, a variable type qualifier denoting that the indicated variable is not part of the persistent state of the object.

translation

  1. In programming, to convert a program from one language to another — for example, to convert C source code to object code.

  2. In graphics, to move an image horizontally, vertically, or both, without rotating the image.

  3. More generally, to convert from one form to another — for example, to translate a scan code into a key code.

translation phase

One of the steps a compiler follows in creating an executable program. In C/C++, these steps include character mapping, line splicing, tokenizing, preprocessing, character-set mapping, string concatenating, translating, and linking.

translation unit

  1. A single source file, together with all of its include files, supplied as input to the compiler, which combines and translates the files to produce an object file. See also compilation unit.

  2. In C/C++, a sequence of tokens that the compiler generates during the preprocessor phase. The translation unit incorporates code from the preprocessor directives, such as the #include and #define directives, into the source code from a single file and excludes any code removed by conditional compilation directives.

Transport Control Protocol/Internet Protocol

A set of transport protocols for the Internet that provides both connection-oriented  (TCP) and connectionless (IP) data transfer. Commonly made up of four protocols: IP, TCP, UDP, and ICMP. See also transport protocol, User Datagram Protocol (UDP).

transport layer

  1. In remote debugging, a data link established between the host machine and the target machine. See also serial transport layer.

  2. The layer in the ISO/OSI communications model that is responsible for quality of service and accurate delivery of information. Among other services, the transport layer handles error detection and correction.

transport protocol

A set of conventions that govern how data is transported across networks. In a connection-oriented transport protocol, such as Transmission Control Protocol (TCP), applications are required to establish a virtual circuit before data transfer can take place. In a connectionless transport protocol, such as User Datagram Protocol (UDP), an established circuit is not required for data transfer and an application need only open and bind a socket in order to send and receive data.

trigraph

In C/C++, a sequence of two question marks followed by a punctuation character, which the compiler replaces with another character. For example, the compiler will replace the trigraph "??-" with the character "~". Trigraphs allow C programs to be written using only the ISO Invariant Code Set, which is a subset of the 7-bit ASCII character set.

TrueType font

A scalable outline font whose glyphs are stored as a collection of line and curve commands plus a collection of hints. Windows uses the line and curve commands to define the outline of the glyph and uses the hints to adjust the length of the lines and the shapes of the curves to correct irregularities in their shapes that occur during rasterization. See also raster font, vector font.

try block

A guarded body of code in a try-except frame-based exception handler or try-finally termination handler. See also catch block, throw expression.

type cast

An explicit conversion of a variable, structure, object, or expression from one data type to another.

type checking

The examination by a compiler or interpreter of the operations in a program to make sure that the correct data types are being used. See also run-time type information (RTTI).

type declaration

A declaration in a program that specifies the characteristics of a new data type, usually by combining more primitive existing data types. See also data declaration.

type definition

  1. A declaration that introduces a name which, within its scope, becomes a synonym for a type or a derived type. A type definition is usually used to construct shorter or more meaningful names for types already declared or to encapsulate implementation details that may change.

  2. A definition that describes the characteristics of an object — for example, a Windows type definition describes the dimensions, colors, behavior, and position for an object of a particular window class.

type information

In OLE, information about an object's class provided by a type library.

type library file

Or OLE library. An OLE compound document file containing standard descriptions of data types, modules, and interfaces that can be used to fully expose objects for OLE Automation. The type library file usually has a .TLB filename extension and can be used by other applications to get information about the automation server.

type modifier

A keyword that modifies the data type that follows — for example, unsigned can be used to modify an integral data type such as int.

type qualifier

A keyword that provides specific properties to an identifier. The const type qualifier declares an object to be nonmodifiable. The volatile type qualifier declares an item whose value can legitimately be changed by something beyond the control of the program in which it appears, such as a concurrently executing thread.

type safety

The assurance that a given function will be not presented, at run time, with data of a type it cannot handle. Type safety is assured through type checking and/or by the use of template classes that are designed to operate on data of many types. See also run-time type information (RTTI).

type-safe collection

A collection class that enforces type safety on data or objects. For example, a type-safe collection can be implemented by using one of the MFC template-based classes such as CArray or CList, which can store data of any type.

typed pointer

A pointer to a specified type.

typeface name

The name of a font — for example, Times New Roman.