Modifying the Message Window Associated with a Form

Designer: The Designer creates a separate message window for each form. This window can be modified inside the Designer. See the Designer User's Guide for more information. You can also modify the message window for a form in your code by following the steps outlined below.

Code: To access the message window for a particular form, use:

fmp->msg_wnp

Chapter 25, "Changing the Appearance of Windows," lists the options for the appearance of windows. By calling the appropriate window function for the form's message window, you can change the appearance of the window. For example, to change the message window attribute to LURGENT, call:

sw_att(LURGENT, dfmp->msg_wnp);

To make a two-line message window, call:

wn_mod(vs_rowq() - 3, 0, 2, vs_colq(), dfmp->msg_wnp);

You can change any of the window settings listed in Chapter 25.


Home Contents Previous Next