|
S60 3rd Edition SDK for Symbian OS Example Applications Guide |
#include <MessagingContainer.h>
Public Member Functions | |
| ~CMessagingContainer () | |
Static Public Member Functions | |
| static CMessagingContainer * | NewL (const TRect &aRect) |
| static CMessagingContainer * | NewLC (const TRect &aRect) |
Private Member Functions | |
| void | ConstructL (const TRect &aRect) |
| void | SizeChanged () |
| TInt | CountComponentControls () const |
| CCoeControl * | ComponentControl (TInt aIndex) const |
| void | Draw (const TRect &aRect) const |
| void | HandleControlEventL (CCoeControl *aControl, TCoeEvent aEventType) |
Definition at line 30 of file MessagingContainer.h.
|
|
Destructor. Definition at line 66 of file MessagingContainer.cpp.
|
|
|
NewL. Two-phased constructor. Construct a CMessagingContainer using two phase construction, and return a pointer to the created object
Definition at line 27 of file MessagingContainer.cpp. References NewLC(). 00028 { 00029 CMessagingContainer* self = CMessagingContainer::NewLC( aRect ); 00030 CleanupStack::Pop( self ); 00031 return self; 00032 }
|
|
|
NewLC. Two-phased constructor. Construct a CMessagingContainer using two phase construction, and return a pointer to the created object
Definition at line 39 of file MessagingContainer.cpp. 00040 { 00041 CMessagingContainer* self = new ( ELeave ) CMessagingContainer(); 00042 CleanupStack::PushL( self ); 00043 self->ConstructL( aRect ); 00044 return self; 00045 }
|
|
|
Symbian default constructor.
Definition at line 52 of file MessagingContainer.cpp. 00053 { 00054 CreateWindowL(); 00055 // Set the windows size 00056 SetRect( aRect ); 00057 // Activate the window, which makes it ready to be drawn 00058 ActivateL(); 00059 }
|
|
|
From CoeControl,SizeChanged. Definition at line 76 of file MessagingContainer.cpp.
|
|
|
From CoeControl,CountComponentControls. Definition at line 87 of file MessagingContainer.cpp.
|
|
|
From CCoeControl,ComponentControl. Definition at line 99 of file MessagingContainer.cpp. 00100 { 00101 switch ( aIndex ) 00102 { 00103 default: 00104 return NULL; // there are no components 00105 } 00106 }
|
|
|
From CCoeControl,Draw. Definition at line 113 of file MessagingContainer.cpp. 00114 { 00115 CWindowGc& gc = SystemGc(); 00116 gc.SetPenStyle( CGraphicsContext::ENullPen ); 00117 gc.SetBrushColor( KRgbWhite ); 00118 gc.SetBrushStyle( CGraphicsContext::ESolidBrush ); 00119 gc.DrawRect( aRect ); 00120 }
|
|
||||||||||||
|
From MCoeControlObserver Acts upon changes in the hosted control's state.
Definition at line 127 of file MessagingContainer.cpp.
|
|
© Nokia 2006 |