6.7 Identifier reference

invalidateRect

Function

The ML function invalidateRect corresponds to the C function InalidateRect in the Windows SDK. It has the following type:

val invalidateRect : hwnd * rect MLWorks.Option.option * bool
                     -> unit

Whereas the Windows function returns a BOOL, the ML function returns unit, and raises an exception if the function fails. Furthermore, the ML function passes the actual rect structure, whereas the Windows function passes a pointer.


MLWorks Reference Manual (version 1.0) - 3 DEC 1996

Generated with Harlequin WebMaker