RISC OS Open
A fast and easily customised operating system for ARM devices
ROOL
Home | News | Software | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

Close_Window_Request

Programmer's Reference Manuals
» Part 7 - The Desktop
» The Window Manager
» 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 June 17, 2009 21:57:19 by Alan Robertson (52)? (127.0.0.1)
Edit | Back in time (3 revisions) | See changes | History | Views: Print | Source | Linked from: The Window Manager Window System Area, Reason Codes

Search the Wiki

Commercial use

For commercial enquiries, please contact the owners of RISC OS, Castle Technology Ltd.

ROOL Store

The official C/C++ Development kit and more here.

Donate! Why?

Help ROOL make things happen – please consider donating!

Navigation

  • Home Page
  • All Pages
  • Recently Revised
  • Authors
  • Feeds
Site design © RISC OS Open Limited 2011 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