Back

DeleteNewWindow()




    USAGE

    void DeleteNewWindow(NewWindow)

    FUNCTION

    This deallocates the given NewWindow structure and the Gadget list attached to it. All StringInfo and ProInfo structures are also deallocated. For StringInfo structures, a string buffer (whose length is given in the StringInfo.MaxChars field) is also deallocated.

    Images, Borders, and IntuiText structures are left alone. This is because they may be used by several gadgets, possibly in other lists.

    DeleteNewWindow should be used in conjunction with DupeNewWindow.

    The purpose of these routines is to provide a method for generating multiple copies of th same window, so they can run concurrently.

    INPUTS

    NewWindow = Pointer to a NewWindow structure to copy.

    RESULT

    none (void)

    SEE ALSO

    DupeNewWindow, DupeMenu, DeleteMenu