6.7 Identifier reference

addCommandHandler

Function

val addCommandHandler : hwnd * word * (hwnd * int -> unit) -> unit

A window can receive the WM_COMMAND message which has a list of other messages associated with it. The function addCommandHandler adds a handler function for this type of message to the given control on the given window. Typically this handler then deals with the messages that are received as part of the WM_COMMAND message. The ML function returns a unit instead of an option value.


MLWorks Reference Manual (version 1.0) - 3 DEC 1996

Generated with Harlequin WebMaker