GenView: 4.11 Advanced Concepts and Uses: Internal Utilities

Up: GEOS SDK TechDocs | Up | Prev: 4.10 Setting the Content | Next: 5 The GenViewControl
MSG_GEN_VIEW_DETERMINE_VIS_PARENT

Some messages supported by the view may be used as general utilities. Most of these, however, will never be needed by applications.

MSG_GEN_VIEW_DETERMINE_VIS_PARENT

optr	MSG_GEN_VIEW_DETERMINE_VIS_PARENT(
        optr	child);

This message returns the optr of the visible parent for a GenView's child object. This is used by the GenView's children during its specific-UI building and should not be needed by applications.

Source: A generic child of the GenView.

Destination: The GenView being specifically built.

Parameters: child The optr of the child to get the visible parent of.

Return: The optr of the visible parent.

Interception: Should not be intercepted.

MSG_GEN_VIEW_SEND_NOTIFICATION

void	MSG_GEN_VIEW_SEND_NOTIFICATION();

This message is part of the GenViewControl mechanism and is used almost exclusively by the GenView. It sends the special notification from the GenView to the controller, if needed.

Source: Part of GenView control mechanism.

Destination: Any GenView object.

Interception: Generally not intercepted.

MSG_GEN_VIEW_SET_CONTROLLED_ATTRS

void	MSG_GEN_VIEW_SET_CONTROLLED_ATTRS(
        GenViewControlAttrs		controlAttrs,
        word		scaleFactor);

This message sets attributes controlled by the GenViewControl.

Source: Typically a GenViewControl object, automatically.

Destination: A controlled GenView object.

Parameters: controlAttrs A record of GenViewControlAttrs flags indicating the attributes to be set.

scaleFactor
The new scale factor to be set for the view.

Return: Nothing.

Interception: Generally not intercepted.


Up: GEOS SDK TechDocs | Up | Prev: 4.10 Setting the Content | Next: 5 The GenViewControl