RISC OS Open
Safeguarding the past, present and future of RISC OS for everyone
ROOL
Home | News | Downloads | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

Close_Window_Request

WindowManager
» SWI Calls
» Wimp_Poll
» Reason Codes
» Close_Window_Request

Close_Window_Request

(Reason Code 3)
Exit
Block
+0 Window handle

Use

This code is returned from Wimp_Poll and indicates that a window needs to be closed.

Notes

To close a window, an application should call 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 should be called.

See also

  • Reason Codes
  • Wimp_CloseWindow
  • Wimp_GetPointerInfo
  • Wimp_Poll
Revised on December 9, 2013 15:35:19 by Jeffrey Lee (213) (91.84.11.161)
Edit | Back in time (4 revisions) | See changes | History | Views: Print | Source | Linked from: WindowManager Window System Area, WindowManager Applications And Documents, Reason Codes

Search the Wiki

Social

Follow us on and

ROOL Store

Buy RISC OS Open merchandise here, including SD cards for Raspberry Pi and more.

Donate! Why?

Help ROOL make things happen – please consider donating!

RISC OS IPR

RISC OS is an Open Source operating system owned by RISC OS Developments Ltd and licensed primarily under the Apache 2.0 license.

Navigation

  • Home Page
  • All Pages
  • Recently Revised
  • Authors
  • Feeds
Site design © RISC OS Open Limited 2018 except where indicated
The RISC OS Open Instiki theme is based on Insitki's default layout

Valid XHTML 1.0  |  Valid CSS

Instiki 0.19.1(MML+)
This site runs on Rails

Hosted by Arachsys