[Contents] [Index] [Help] [Retrace] [Browse <] [Browse >]


   NAME
        RemoveAppWindow - remove a window from Workbench's list         (V36)
                          of AppWindows.

   SYNOPSIS
        success = RemoveAppWindow(AppWindow)
         D0                        A0

        bool removeappwindow(struct appwindow *);

   FUNCTION
        Attempt to remove an appwindow from Workbench's list of AppWindows.

   INPUTS
        appwindow - pointer to an appwindow structure returned by
                    AddAppWindow.

   RESULTS
        success - TRUE if the window could be removed, FALSE otherwise.

   NOTES
        As with anything that deals with asynchronous operation, you will need
        to do a final check for messages on your appmessage port for messages
        that may have come in between the last time you checked and the
        call to removed the appwindow.

        Before the appwindow is removed, all its drop zones will be removed
        first. There is no need for you to call removeappwindowdropzone()
        for every single one.

   SEE ALSO
        workbench.library/addappwindowa
        workbench.library/removeappwindowdropzone