VDeleteImageSubwindow


 
Name
  VDeleteImageSubwindow - destroys the specified subwindow of the image
window.
 
Synopsis
  VDeleteImageSubwindow(win)
  Window win;
 
Description
  VDeleteImageSubwindow destroys the specified subwindow of the image
window. If the win is image window ID, VDeleteImageSubwindow destroys
all the subwindows of the image window. VDeleteImageSubwindow also
updates the WINS_ID.COM file.
 
Return Value
  0 - work successfully.
  3 - write error.
  4 - cannot open WINS_ID.COM file.
  6 - invalid window ID.
  241 - no subwindow created under the image window.
 
Parameters
  win - the ID of the subwindow to be destroyed.
 
Side Effects
  None.
 
Entry Conditions
  If VCreateWindows is not called earlier, VDeleteImageSubwindow prints an
error message to the standard error stream, produces a core dump file and
exits from the current process.
 
Related Functions
VCreateImageSubwindow, VGetImageSubwindows, VCreate3DImageSubwindow, VGetWindowInformation.