
6 The MLWorks Windows Interface Library
For example, a window is implemented as a word type, so to pass a window in an argument as a word type requires the function windowToWord.
To illustrate, the following is an example of how to send a message to get the parent of a window using windowToWord and intToWord:
sendMessage (getParent mywindow,
WM_COMMAND,
WPARAM (intToWord someInt),
LPARAM (windowToWord mywindow));

Generated with Harlequin WebMaker