VisComp: 2.3 VisCompClass Instance Data: VCI_window

Up: GEOS SDK TechDocs | Up | Prev: 2.2 VCI_gadgetExcl | Next: 2.4 VCI_geoAttrs

Every visible object has a window associated with it in which it will be drawn. Normal VisClass objects have no control over what window they're associated with; they must be in the same window as their composite parents. Composites may need to appear in different windows from their parents, however. Thus, VisCompClass has the VCI_window field, which contains the window handle of the window in which the composite's branch will be drawn.

Applications will not access this field directly. Typically, composites will be drawn in the window associated with their parent composites or contents. Sometimes, however, an application will want a visible branch to appear in a window different from that of the rest of the visible tree. The composite then must use other VisClass messages for creating and associating a window. This process is discussed in more detail in Managing Graphic Windows .


Up: GEOS SDK TechDocs | Up | Prev: 2.2 VCI_gadgetExcl | Next: 2.4 VCI_geoAttrs