AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
Entry
     R0 = mask
     R1 -> Wimp_PollIdle block
     R2 = Wimp_PollIdle time (OS_ReadMonotonicTime+X)
Exit
     R0 = mask (possibly altered)
     R2 = Wimp_PollIdle time (possibly altered)

For WimpExtension to function you must use Wimp_PollIdle and not Wimp_Poll, this is so that WimpExtension can enable null events if it needs to (for example to redraw a slider).  Note that on exit, R0 will never have bits set which were previously clear, and R2 will never be increased, only decreased.  If you do not want any null events set bit 0 of the mask in the usual way.  To receive as many null events as possible, clear bit 0 in the mask and make R2 = 0.

Provided by Kernel

[sh-index] Back to list of manuals