Next Previous Up Top Contents Index

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 2.0 - 29 Jul 1998

Next Previous Up Top Contents Index

Generated with Harlequin WebMaker