h6. [[WindowManager]] h6(. » [[WindowManager SWI Calls|SWI Calls]] h6((. » [[Wimp_Poll|Wimp_Poll]] h6(((. » [[Reason Codes|Reason Codes]] h6((((. » Close_Window_Request h2. Close_Window_Request h5. (Reason Code 3) |_<. Exit | | |<^. Block | | |>^. +0|Window handle | h4. Use This code is returned from [[Wimp_Poll|Wimp_Poll]] and indicates that a window needs to be closed. h4. Notes To close a window, an application should call [[Wimp_CloseWindow|Wimp_CloseWindow]]. Any panes associated with a window will need to be closed individually. Windows used to edit documents that had the close clicked using the adjust mouse button, should open the filer window where the document is stored. To identify which mouse button was clicked, [[Wimp_GetPointerInfo|Wimp_GetPointerInfo]] should be called. h4. See also * [[Reason Codes|Reason Codes]] * [[Wimp_CloseWindow|Wimp_CloseWindow]] * [[Wimp_GetPointerInfo|Wimp_GetPointerInfo]] * [[Wimp_Poll|Wimp_Poll]]