Einhugur Framework for C++

Control Class

A base class that is the parent class of all control classes.

You should not create instance of this class.

Object
   Control

class Control

Constructors

ControlThis constructor is for inheriting purposes only. You should not directly create a instance of the control base class.

Properties

Cursor
_control
_panelVisibility
_visible

Methods

Close
ContainsPointReturns true if the control contains the point at the given location.
GetBoundsGets the position and size of the control.
GetControlHandleReturns the Mac ControlHandle for the control.
GetControlTitle (Protected)Returns the ControlTitle as CFStringRef.
GetEnabledReturns true if the control is enabled.
GetHeightReturns the height of the control in pixels.
GetPanelIDReturns the panel ID for the control.
GetVisibleReturns true if the control has its visible flag set to true.
GetWidthReturns the width of the control in pixels.
GetWindowRefReturns a Mac WindowRef for the Window that the control lives on.
HandleMouseEnter
HandleMouseLeave
HandleMouseMove
HandleOpen
HandleVisibilityChanged
IsVisibleOnTopReturns true if the controls visible flag is set to true and the control is on top most view panel if it lives on a TabPanel or other similar control.
LocalToScreenCoordinateThis method converts a point that is local to the control to a point that is local to the screen.
LocalToWindowCoordinateThis method converts a point that is local to the control to a point that is local to the window.
ParentResized
Release (Inherited)Decreases reference count by one and deletes the object if the reference count reached zero.
Retain (Inherited)Increases the reference count by one.
SetAnchorThis method anchors the control to given sides of its parent container.
SetBoundsSets the position and size of the control.
SetControlTitle (Protected)
SetEnabledEnables or disables the control.
SetFocus
SetPanelIDSets panel ID for the control.
SetPanelVisibility
SetPosition
SetSizeSets the size of the control.
SetVisibleShows or hides the control.
WindowToLocalCoordinateTranslates a coordinate that is relative to the Window to a coordinate that is relative to the control.

Events

CloseEventThis event is fired when the control is closing.
MouseEnterEventThis event is fired when the control is about to get displayed.
MouseLeaveEventThis event is fired when the mouse leaves the control.
MouseMoveEvent
OpenEventThis event is fired when the control is about to get displayed.