TUI Object and Window Hierarchies (Windows CE 5.0)

Send Feedback

The TUI conceptually has the following object models or hierarchies. The names of and classes in these hierarchies are similar and the objects in the hierarchies in some cases overlap, which can make it easy to confuse the two.

  • The object containment hierarchy

    In this hierarchy, called the TUI object hierarchy or TUI object model, C++ classes create and then contain references to other C++ classes. The root of this hierarchy is the CVoIPApp class. For more information about this hierarchy, see TUI Object Model.

    This hierarchy ultimately contains references to classes that are also in the TUI UI object model. Specifically, the CVoIPApp class contains a reference to a CVoIPDesktopManager instance. The CVoIPDesktopManager instance in turn contains a reference to UI CVoIPDesktop instance, as well as other UI windows, like CVoIPMainDialog.

    Although this hierarchy contains references to classes in the TUI UI object model, the overall TUI object model is still separate from the TUI UI window hierarchy, discussed next.

  • The Win32 window hierarchy

    In this hierarchy, called the TUI window hierarchy or TUI UI object model, all C++ classes use the ATL window functionality to in turn represent Win32 windows. The root of this hierarchy is the CVoIPDesktop class.

Neither of these hierarchies are C++ inheritance hierarchies. The classes that make up the object and window hierarchy are implemented in C++ and have parent and child classes, but this hierarchy isn't discussed here.

See Also

Understanding TUI Source Code | How TUI Uses ATL

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.