API published in: S60 1st Ed
Link against: eikcoctl.lib avkon.lib
Required Capabilities
None
#include <eikbctrl.h>
Inherits CAknControl.
Inherited by CAknInputFrame, CAknPopupField, CAknPopupFieldList, CAknPopupList, CAknSlider, CEikButtonBase, CEikControlGroup, CEikDialog, CEikEdwin, CEikFileNameLabel, CEikListBox, CEikMenuBar, CEikMenuPane, CEikMenuPaneTitle, CEikMfne, CEikProgressInfo, CEikScrollBar, and CEikSecretEditor.
The screen appearance of derived classes can be changed by overriding the protected method Draw()
. By default, this draws a border of the appropriate type around the control.
Public Member Functions |
|
IMPORT_C | CEikBorderedControl () |
Default C++ Constructor. |
|
IMPORT_C | CEikBorderedControl (const TGulBorder &aBorder) |
Constructor that creates a new bordered control with a specified border. |
|
IMPORT_C TBool | HasBorder () const |
Checks whether the control has a border. |
|
IMPORT_C void | SetAdjacent (TInt aAdjacent) |
Sets the control's adjacency. |
|
IMPORT_C void | GetColorUseListL (CArrayFix< TCoeColorUse > &aColorUseList) const |
Not used in S60. |
|
IMPORT_C void | HandleResourceChange (TInt aType) |
Handles a change to the control's resources. |
|
IMPORT_C void | HandlePointerEventL (const TPointerEvent &aPointerEvent) |
Handles pointer events. |
|
IMPORT_C void | SetBorder (TGulBorder::TBorderType aBorderType) |
Sets the border type of the control to a type defined in TGulBorder::TBorderType . |
|
IMPORT_C void | SetBorder (TInt aBorderType) |
Sets the border type. |
|
IMPORT_C TGulBorder | Border () const |
Gets the control's border. |
|
Protected Member Functions |
|
IMPORT_C void | Draw (const TRect &aRect) const |
Draws the border around the control. |
|
IMPORT_C void | WriteInternalStateL (RWriteStream &aWriteStream) const |
Writes the internal state of the control and its components to aWriteStream . |
|
Protected Attributes |
|
TGulBorder | iBorder |
The control's border. |
|
Default C++ Constructor. Constructs a new bordered control that has no border. |
|
Constructor that creates a new bordered control with a specified border.
|
|
Gets the control's border.
|
|
Draws the border around the control.
This function also clears the central area if the
From
Reimplemented in CAknDialog, CAknGMSStyleGrid, CAknSetStyleListBox, CAknPopupField, CAknSelectionListDialog, CAknSlider, CEikCba, CEikCommandButtonBase, CEikEdwin, CEikFileNameLabel, CEikListBox, CEikMenuBar, CEikMenuPaneTitle, CEikMenuPane, AknListBoxLinesTemplate< CEikSettingsListBox >, AknListBoxLinesTemplate< CAknColumnListBox >, and AknListBoxLinesTemplate< CEikFormattedCellListBox >. |
|
Not used in S60.
From
Reimplemented in CEikButtonBase, CEikCba, CEikColumnListBox, CEikCommandButtonBase, CEikControlGroup, CEikDialog, CEikEdwin, CEikFileNameLabel, CEikFormattedCellListBox, CEikListBox, CEikSnakingListBox, CEikMenuBar, CEikMenuPaneTitle, CEikMenuPane, CEikMfne, CEikProgressInfo, CEikSecretEditor, CEikToolBar, CEikTextListBox, and CEikSnakingTextListBox. |
|
|
Handles a change to the control's resources.
The types of resources handled are those which are shared across the environment, e.g. colours or fonts. For colour scheme
changes, If overriding this method, the implementation must include a base call to this method.
From
Reimplemented in CAknForm, CAknGrid, CAknInputFrame, CAknListQueryDialog, CAknNoteDialog, CAknIntegerEdwin, CAknPopupList, CAknPopupField, CAknPopupSettingList, CAknMultiLineDataQueryDialog, CAknMultiLineIpQueryDialog, CAknSlider, CEikButtonBase, CEikCba, CEikColumnListBox, CEikCommandButtonBase, CEikControlGroup, CEikDialog, CEikEdwin, CEikFileNameLabel, CEikFloatingPointEditor, CEikFixedPointEditor, CEikFormattedCellListBox, CEikListBox, CEikSnakingListBox, CEikMenuBar, CEikMenuPaneTitle, CEikMenuPane, CEikMfne, CEikProgressInfo, CEikSecretEditor, CEikToolBar, CEikTextListBox, and CEikSnakingTextListBox. |
|
Checks whether the control has a border.
From
|
|
Sets the control's adjacency. Declares that a control abuts another control along one edge, and does not need to be drawn with a full border along that side. This is for use by layout engines or any user code which lays out controls next to one another. Its intended use is to remove the double border that may occur if two controls, both with borders, are adjacent within a container control.
From
|
|
Sets the border type.
Any one of the values from the enums
Custom border types can be created by selecting one value from enum
|
|
Sets the border type of the control to a type defined in
|
|
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
Reimplemented in CEikButtonBase, CEikCommandButtonBase, CEikTwoPictureCommandButton, CEikInverterCommandButton, CEikControlGroup, CEikDialog, CEikEdwin, CEikGlobalTextEditor, CEikMfne, CEikMenuButton, CEikProgressInfo, CEikRichTextEditor, CEikToolBar, and CEikTextListBox. |
|
The control's border. |