ControlContext :: setMaximizeControl - Redefine Zoom-out control
When calling the Maximize action for multi-line text edit fields, the next higher window context is used as maximize frame. This is not sufficient in many cases and can be changed by the function.
The context passed as rControlContext refers to the context, which will act as parent (and frame) for the maximized window. Context hierarchies are not affected by this operation.
Implementation overview
- Set zoom out control and behavior
ControlContext :: setMaximizeControl ( cControlContext, iAutoZoom ) - Set zoom-out control
ControlContext :: setMaximizeControl ( cControlContext )
Implementation details
-
Set zoom out control and behavior
ControlContext  :: setMaximizeControl ( odabagui::ControlContext &cControlContext, int32 iAutoZoom )
The function sets the zoom-out control to the control associated with the context passed in rControlContext and the zoom-in behavior as being passed in iAutoZoom.
- cControlContext
- Control context
ControlContext classes are created for field (ADK_Field) as well as for control (ADK_FieldControl) resources.
When referring a field resource, the field context will overload the context implemented for the subordinated field control (control context).
- iAutoZoom
- Automatically zoom-in control
The value controls the zoom-in behavior of a zoom-out control.
- true - will automatically zoom-in the control, when the control looses the focus.
- false - will not automatically zoom-in the control. The user or application has to call the zoom-in action explicitly.
to list
- cControlContext
- Control context
-
Set zoom-out control
ControlContext  :: setMaximizeControl ( odabagui::ControlContext &cControlContext )
The function sets the zoom-out control to the control associated with the context passed in rControlContext.
- cControlContext
- Control context
ControlContext classes are created for field (ADK_Field) as well as for control (ADK_FieldControl) resources.
When referring a field resource, the field context will overload the context implemented for the subordinated field control (control context).
to list
- cControlContext
- Control context