Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: eikalign.h
Link against: eikcoctl.lib

Class CEikAlignedControl

CEikAlignedControl

Support

Supported from 6.0

Description

This class extends the CCoeControl class in order to support extra functionality such as control alignment and margins. It is only intended as a simple building block for controls.

Derivation

CBaseBase class for all classes to be instantiated on the heap
CCoeControlControl base class from which all other controls are derived
CEikAlignedControlThis class extends the CCoeControl class in order to support extra functionality such as control alignment and margins

Defined in CEikAlignedControl:
CEikAlignedControl(), SetAlignment(), SetAllMarginsTo(), iAlignment, iMargin, ~CEikAlignedControl()

Inherited from CBase:
operator new()

Inherited from CCoeControl:
ActivateGc(), ActivateL(), BackedUpWindow(), CapturesPointer(), ClaimPointerGrab(), CloseWindow(), ComponentControl(), ConstructFromResourceL(), ControlContext(), ControlEnv(), CopyControlContextFrom(), CountComponentControls(), CreateBackedUpWindowL(), CreateWindowL(), DeactivateGc(), DrawDeferred(), DrawNow(), DrawableWindow(), EnableDragEvents(), FocusChanged(), GetColor(), GetColorUseListL(), GetHelpContext(), GrabbingComponent(), HandleComponentControlsResourceChange(), HandlePointerBufferReadyL(), HandlePointerEventL(), HandleRedrawEvent(), HandleResourceChange(), HasBorder(), IgnoreEventsUntilNextPointerUp(), Index(), InputCapabilities(), IsActivated(), IsBackedUp(), IsBeingDestroyed(), IsBlank(), IsDimmed(), IsFocused(), IsNonFocusing(), IsReadyToDraw(), IsVisible(), MakeVisible(), MinimumSize(), Observer(), OfferKeyEventL(), OverrideColorL(), OwnsWindow(), Position(), PositionChanged(), PositionRelativeToScreen(), PrepareForFocusGainL(), PrepareForFocusLossL(), Rect(), RecursivelyMergedInputCapabilities(), ReportEventL(), ResetGc(), SetAdjacent(), SetAllowStrayPointers(), SetBlank(), SetCanDrawOutsideRect(), SetComponentsToInheritVisibility(), SetContainerWindow(), SetContainerWindowL(), SetControlContext(), SetCornerAndSize(), SetCornerAndSizeL(), SetDimmed(), SetExtent(), SetExtentL(), SetExtentToWholeScreen(), SetExtentToWholeScreenL(), SetFocus(), SetFocusing(), SetGloballyCapturing(), SetNeighbor(), SetNonFocusing(), SetObserver(), SetPointerCapture(), SetPosition(), SetRect(), SetRectL(), SetSize(), SetSizeL(), SetSizeWithoutNotification(), SetSizeWithoutNotificationL(), Size(), SizeChanged(), SizeChangedL(), SystemGc(), Window()

See also:


Construction and destruction


CEikAlignedControl()

CEikAlignedControl();

Description

Default constructor.


~CEikAlignedControl()

~CEikAlignedControl();

Description

Destructor.

[Top]


Setting alignment and margins


SetAlignment()

void SetAlignment(TGulAlignmentValue aAlign);

Description

Sets control alignment.

Parameters

TGulAlignmentValue aAlign

The alignment.


SetAllMarginsTo()

void SetAllMarginsTo(TInt aValue);

Description

Sets all margins.

Parameters

TInt aValue

The number of pixels to which all margins will be set.

[Top]


Public data

Description

Defines the control’s alignment and margin.


iAlignment

TGulAlignment iAlignment

Description

The control’s alignment.


iMargin

TMargins8 iMargin

Description

The control’s margin.