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
     R1 -> Wimp_RedrawWindow block

To be called in the window redraw loop to draw 3D borders, sliders, etc.

You must call WimpExt_Redraw or WimpExt_AutoRedraw when you receive a redraw request, if the window being redrawn contains anything which is handled by WimpExtension (eg. 3D borders).  Your redraw loop will probably look something like this :

SYS "Wimp_RedrawWindow",,q% TO flag%
WHILE flag%
SYS "WimpExt_Redraw",,q%
...
SYS "Wimp_GetRectangle",,q% TO flag%
ENDWHILE

You must set all windows which contain WimpExtension graphics to NOT be auto-redraw‘, so that redraw requests are sent to your program for those windows.

Provided by Kernel

[sh-index] Back to list of manuals