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

Page "VDU Codes/versions/14" does not exist. Please create it now, or hit the "back" button in your browser.

Redraw_Window_Request

Programmer's Reference Manuals
» Part 7 - The Desktop
» The Window Manager
» 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 June 17, 2009 21:50:57 by Alan Robertson (52)? (127.0.0.1)
Edit | Back in time (4 revisions) | See changes | History | Views: Print | Source | Linked from: The Window Manager Window System Area, The Window Manager Updating Windows, Wimp_GetRectangle, Rectangle Data, Poll Mask, Wimp_RedrawWindow, Wimp_UpdateWindow, 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