GEOS SDK TechDocs
|
|
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.
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
Return: Nothing.
Interception: Generally not intercepted.
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.
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.
GEOS SDK TechDocs
|
|
5.3 GenViewControl Example