Communicator UI: 2 ComplexMonikerClass

Up: GEOS SDK TechDocs | Up | Down | Prev: 1 FoamSubApplicationClass | Next: 3 Convenient Dialog Routines

ComplexMonikerClass is a versatile class that provides powerful behavior with little overhead. A complex moniker serves two purposes. First, it allows a developer to easily create a moniker containing both graphics and text. Second, it allows both text and graphics to be easily localized by referring to both items "generically."

A complex moniker may take a variety of forms. ComplexMonikerClass is what's known in GEOS as a "variant" class, which means that the object's parent class is dynamically assigned when the object is visually built.

A complex moniker may contain both a text string and a bitmap. The text string may be either a single line or two lines (separated by a `\r' character in the text buffer). If the text is two lines, it will be right-justified; this allows text strings in the command bar to align properly.


Up: GEOS SDK TechDocs | Up | Down | Prev: 1 FoamSubApplicationClass | Next: 3 Convenient Dialog Routines