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

Redraw_Window_Request

WindowManager
» SWI Calls
» Wimp_Poll
» Reason Codes
» Redraw_Window_Request

Redraw_Window_Request

(Reason Code 1)
Exit
Block
+0 Window handle

Use

This code is returned from Wimp_Poll and indicates that a window is in need of updating and must be redrawn.

Notes

To update and redraw a window that has been identified as requiring updating, applications should follow the process below:

  1. Call Wimp_RedrawWindow
  2. Start a loop by calling Wimp_GetRectangle to return a rectangular part of the window that needs updating
  3. Loop back to fetch next rectangular part of window needing updating until done

See also

  • Reason Codes
  • Wimp_GetRectangle
  • Wimp_Poll
  • Wimp_RedrawWindow
Revised on December 9, 2013 15:34:22 by Jeffrey Lee (213) (91.84.11.161)
Edit | Back in time (5 revisions) | See changes | History | Views: Print | Source | Linked from: WindowManager Window System Area, WindowManager Redrawing Windows, WindowManager Updating Windows, Wimp_GetRectangle, Rectangle Data, Poll Mask, Wimp_UpdateWindow, Reason Codes, Wimp_RedrawWindow

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