6 The MLWorks Windows Interface Library

6.7 Identifier reference

The tables list ML function identifiers and the C functions from the Windows SDK to which they correspond.

Some Windows functions specify the success or failure of their execution by returning a BOOL, int, or DWORD. The equivalent ML functions typically handle failure by raising an exception. As a result such ML functions return a unit, relying on the exception to clarify the nature of the failure. The functions to which this applies are marked as follows:

6.7.1 - Windows functions
childWindowFromPoint
closeWindow
enumChildWindows
windowFromPoint
6.7.2 - Messages
getMessagePos
getMessageTime
6.7.3 - Window classes
6.7.4 - Keyboard input
6.7.5 - Mouse input
6.7.6 - Timers
6.7.7 - Buttons
6.7.8 - Scroll bars
getScrollInfo
6.7.9 - Menus
getMenuString
6.7.10 - Keyboard accelerators
accelerator_flag
createAcceleratorTable
6.7.11 - Dialog boxes
message_box_style
6.7.12 - Painting and drawing
rop2_mode
rop_mode
validateRect
invalidateRect
6.7.13 - Cursors
6.7.14 - Clipboard
setClipboardData
6.7.15 - Device contexts
object
hbrush
hpen
object_type
stock_object
6.7.16 - Bitmaps
6.7.17 - Brushes
hatch_style
6.7.18 - Pens
pen_style
6.7.19 - Lines and curves
arc_direction
6.7.20 - Filled Shapes
6.7.21 - Fonts and text
getTextExtentPoint
6.7.22 - Coordinate spaces and transformations
6.7.23 - Sound
6.7.24 - System information
color_spec
6.7.25 - MLWorks-specific functions
setAcceleratorTable
registerPopupWindow
unregisterPopupWindow
6.7.26 - Window procedures
addMessageHandler
addNewWindow
removeWindow
getMlWindowProc
addCommandHandler
6.7.27 - Miscellaneous
malloc
free
setByte
makeCString

MLWorks Reference Manual (version 1.0) - 3 DEC 1996

Generated with Harlequin WebMaker