company logo

ControlContext :: activeControl - Get context for active control

The active control is the field, button or constant, which is currently selected or on top. For widget stacks, virtual controls or tab-controls, it is the control recently activated. For ordinary window controls it is the control which currently has the focus. For a workspace the function returns the context of the active MDI window.

Return value:  Control context ( odabagui::ControlContext & )

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).

Implementation details

odabagui::ControlContext & ControlContext  :: activeControl (  )