[Next] [Previous] [Up] [Top] [Contents] [Index]

Windows and views

Views and subviews

The items displayed inside a window are the subviews of the window. In the simplest cases, there is only one level to this view hierarchy: the window is the outermost view, and it contains subviews. However, it is possible to have deeper levels of nesting. Subviews in the window can, in turn, have their own subviews, etc.

Events such as mouse clicks and keystrokes are handled by the window, which often passes control on to an appropriate subview.

Adding a button
Adding an editable text item
Retrieving the text from an editable text item

Gettmg Started with MCL - 19 OCT 1996
[Next] [Previous] [Up] [Top] [Contents] [Index]

Generated with Harlequin WebMaker