GenView: 5.4 The GenViewControl: Messages Handled

Up: GEOS SDK TechDocs | Up | Prev: 5.3 GenViewControl Example
MSG_GEN_VIEW_CONTROL_SET_ATTRS, MSG_GEN_VIEW_CONTROL_SET_MINIMUM_SCALE_FACTOR, MSG_GEN_VIEW_CONTROL_SET_MAXIMUM_SCALE_FACTOR

GenViewControlClass handles several messages that allow its characteristics to be set or modified at run-time. It also has several other internal messages which are not documented here.

MSG_GEN_VIEW_CONTROL_SET_ATTRS

void	MSG_GEN_VIEW_CONTROL_SET_ATTRS(
        GenViewControlAttrs		attrsToSet,
        GenViewControlAttrs		attrsToClear);

This message sets the GenViewControlAttrs in GVCI_attrs. Attributes noted in both parameters will be turned off for the controller.

Source: Unrestricted.

Destination: Any GenViewControl object.

Parameters: attrsToSet Attributes to be turned on should be set.

attrsToClear
Attributes to be turned off should be set.

Return: Nothing.

Interception: Generally not intercepted.

MSG_GEN_VIEW_CONTROL_SET_MINIMUM_SCALE_FACTOR

void	MSG_GEN_VIEW_CONTROL_SET_MINIMUM_SCALE_FACTOR(
        word	minimumScaleFactor);

This message sets the view controller's minimum allowable scale factor.

Source: Unrestricted.

Destination: Any GenViewControl object.

Parameters: minimumScaleFactor
The new minimum scale factor (a percentage).

Return: Nothing.

Interception: Generally not intercepted.

MSG_GEN_VIEW_CONTROL_SET_MAXIMUM_SCALE_FACTOR

void	MSG_GEN_VIEW_CONTROL_SET_MAXIMUM_SCALE_FACTOR(
         word	maximumScaleFactor);

This message sets the maximum settable scale factor for the view controller.

Source: Unrestricted.

Destination: Any GenViewControl object.

Parameters: maximumScaleFactor
The maximum settable scale factor (as a percent).

Return: Nothing.

Interception: Generally not intercepted.


Up: GEOS SDK TechDocs | Up | Prev: 5.3 GenViewControl Example