Update Constants
The update constants determine whether a window is updated based on various changes to the color environment. You use the update constants with the nCUpdates parameter of the NSetPalette function (page 1-12) and the updates parameter of the SetPaletteUpdates function (page 1-15).
/* update constants */
enum {
pmNoUpdates = $8000
pmBkUpdates = $A000
pmFgUpdates = $C000
pmAllUpdates = $E000
};
- Constant descriptions
pmNoUpdates = $8000
Do not update the window when its color environment changes.
-
pmBkUpdates = $A000
Update the window only when it is not the active window.
-
pmFgUpdates = $C000
Update the window only when it is the active window.
-
pmAllUpdates = $E000
Update the window whenever its color environment changes.
-