This chapter explains how to customize the appearance of a window that has already been defined. You can use these functions on windows created in the Designer or on windows defined in code.
Designer: When you create a window in the Designer, the window appearance specifications and window options default to those specified in the Designer configuration file. You can change features for a specific window, or you can modify the configuration file to change the defaults for all newly created windows. See the Designer User's Guide for more information.
Most window features discussed in this chapter can be set with the Designer. See the Designer User's Guide for more information. You can also change the appearance of a Designer window in your code, by calling the appropriate functions.
Code: When a window is defined, any feature not set in the definition function (wn_def(), wn_vdef(), wn_nbdef(), or wn_mfdef()) call is set to the values in the global default window WN_WNP. If you want all your windows to have a certain characteristic, you can change the window WN_WNP, and all windows defined after the change will inherit the new characteristics.
Many of the functions that change the appearance of the window simply set the appropriate window structure members. These functions are called the set window functions and begin with the abbreviation "sw_."