VDisplayRunModeCommand


 
Name
  VDisplayRunModeCommand - displays a switch in the button window that lets
one put processes in the background/foreground.
 
Synopsis
  VDisplayRunModeCommand()
 
Description
  VDisplayRunModeCommand displays a switch in the button window that lets
one put processes in the background/foreground. The default value of the
switch is FG (foreground). To change the switch value, it is necessary to
call VCheckEventsInButtonWindow. The switch created by VDisplayRunModeCommand
can be deleted by calling VEraseRunModeCommand.
 
Return Value
  0 - work successfully.
  1 - memory allocation error.
 
Parameters
  None.
 
Side Effects
  None.
 
Entry Conditions
  VCreateColormap should be called earlier, else VDisplayRunModeCommand prints
an error message to the standard error stream, produces a core dump file
and exits from the current process.
 
Related Functions
VEraseRunModeCommand, VGetRunModeValue, VCheckEventsInButtonWindow.