overview.hlp (Table of Contents; Topic list)
About Entry-Field Controls (1.2)
Using Section  Message Group  Styles            Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
                         About Entry-Field Controls
 
This topic describes the functions that allow you to use entry-field control
windows in your applications. You should also be familiar with the following
topics:
 
    System clipboard
    Messages and message queues
    MS OS/2 Resource Compiler
 
An entry-field control is a rectangular window that displays a single line
of text a user can edit. When the entry-field control has the focus, it
displays a flashing bar to mark the current insertion point. It also allows
a user to select text by dragging the mouse or by using the keyboard.
Entry-field controls allow applications to provide standard-interface text
editing to users for short selections.
 
Users can select a range of text in an entry-field control. Many
text-editing operations on the contents of an entry-field control affect the
current selection rather than the entire text.
 
Entry-field controls are typically used in dialog windows, although they may
be used in non-dialog windows as well. Entry-field control windows are
always owned by other windows. The entry-field control window sends
notification messages to its owner when it gains or loses the focus, or when
its contents change or are scrolled.
 
Entry-field control windows have style bits that determine whether the text
is left, center, or right-justified in the window, and whether the text
automatically scrolls horizontally, showing the current insertion point.
Style bits also control whether entry-fields have borders. These styles are
set when the control is created.
 
 
                                      ♦