Changing the Default Message Window

Designer: You can change the default message window in your code. After you do that, any forms that you read from Designer libraries will use the new defaults unless you modified the message window for that form inside the Designer. Changes made in the Designer override changes made to the default message window.

Code: You can also change the default message window. The message windows for all forms defined after making the changes would then have these settings.

The default message window is #defined as MSG_WNP. Use this to access the default message window.

By calling the appropriate window functions for the form message window, you can change the appearance of the window. For example, to change the message window attribute to LURGENT, call:

sw_att(LURGENT, MSG_WNP);

To make a two-line message window, call:

wn_mod(vs_rowq() - 3, 0, 2, vs_colq(), MSG_WNP);


Home Contents Previous Next