API published in: S60 1st Ed
Link against: eikcoctl.lib avkon.lib
Required Capabilities
None
#include <eikalign.h>
Inherits CAknControl.
Inherited by CEikImage, and CEikLabel.
CAknControl
to support control alignment and margins.
Public Member Functions |
|
IMPORT_C | CEikAlignedControl () |
C++ default constructor. |
|
IMPORT_C | ~CEikAlignedControl () |
Destructor. |
|
IMPORT_C void | SetAllMarginsTo (TInt aValue) |
Sets all of the control's margins. |
|
IMPORT_C void | SetAlignment (TGulAlignmentValue aAlign) |
Sets the control's alignment. |
|
IMPORT_C void | HandlePointerEventL (const TPointerEvent &aPointerEvent) |
Handles pointer events. |
|
Data Fields |
|
TMargins8 | iMargin |
The control's margins. |
|
TGulAlignment | iAlignment |
The control's alignment. |
|
Protected Member Functions |
|
IMPORT_C void | WriteInternalStateL (RWriteStream &aWriteStream) const |
Writes the internal state of the control and its components to aWriteStream . |
|
C++ default constructor. |
|
Destructor. |
|
Handles pointer events. This function gets called whenever a pointer event occurs in the control, i.e. when the pointer is within the control's extent, or when the control has grabbed the pointer. The control should implement this function to handle pointer events. If overriding this method, the implementation must include a base call to this method.
From
|
|
Sets the control's alignment.
|
|
Sets all of the control's margins.
|
|
Writes the internal state of the control and its components to Does nothing in release mode. Designed to be overridden and base called from subclasses.
From
|
|
The control's alignment. |
|
The control's margins. |