home *** CD-ROM | disk | FTP | other *** search
/ RISC DISC 1 / RISC_DISC_1.iso / pd_share / code / desklib / Libraries / Handler / c / DeleteW < prev    next >
Encoding:
Text File  |  1994-05-22  |  396 b   |  15 lines

  1. #include "Wimp.h"
  2. #include "Window.h"
  3. #include "Handler.h"
  4.  
  5.  
  6. extern BOOL Handler_DeleteWindow(event_pollblock *event, void *reference)
  7. /*  Alternate handler to Handler_Close, which calls the higher-level 
  8.  *  Window_Delete() to close and delete the window, release memory, and
  9.  *  remove all handlers attached to the window.
  10.  */
  11. {
  12.   Window_Delete(event->data.openblock.window);
  13.   return(TRUE);
  14. }
  15.