A field can have a message string associated with it. That message string appears in the message window whenever the user goes into the field. You can change the appearance of the message window. By default, there are no messages associated with any field. See Chapter 9, "Data Field Processing Options," for information on specifying a message for a field.
Designer: The Designer creates a message window for a form when the form is created. The Designer uses its system defaults to initialize the message window form structure. You can modify the message window inside the Designer; see the Designer User's Guide for more information. You can also modify the message window in your code at any point after you have read the form from the Designer library.
Code: A default message window is initially defined in vv_init() as a window with no border. The default message window covers the last row of the screen, and the logical attribute of the window is LMESSAGE. The #defined name for this message window is MSG_WNP.
When a form is defined, memory is allocated for a message window structure, and values of the MSG_WNP window structure members are copied to this new window structure. A pointer to the copy is placed in the form structure.
General: Note that each form has its own local copy of the message window. You can modify the message window for a single form without affecting the message windows associated with other forms.
Modifying the Message Window Associated with a Form
Changing the Default Message Window