Tuesday, January 19, 2016

Help newcomers, SetRect mistake when how else?




            


Just getting started with the development of S60, using a S60 2nd Ed, FP2
I want to add a CEikEdwin
on the screenCEikEdwin * iMyContral;
In
void CMyApplicationContainer :: ConstructL (const TRect & amp; aRect)
{
CreateWindowL ();

iLabel = new (ELeave) CEikLabel;
iLabel- & gt; SetContainerWindowL (* this);
iLabel- & gt; SetTextL (_L ("Example View"));

iMyContral = new (ELeave) CEikEdwin;
iMyContral- & gt; SetContainerWindowL (* this);

iToDoLabel = new (ELeave) CEikLabel;
iToDoLabel- & gt; SetContainerWindowL (* this);
iToDoLabel- & gt; SetTextL (_L ("Add Your controls \ n here"));

SetRect (aRect);
iBackGround = CAknsBasicBackgroundControlContext :: NewL (KAknsIIDQsnBgAreaMain, Rect (), EFalse);
ActivateL ();
}
SetRect always being given at the time, how is it?
S60 first time to do the procedure, n many places do not understand, please coaching coaching, Frank
Reply:
How nobody ah?
Reply:
Halo, day, ye have not people?
Reply:
Rather strange question, doubt not SetRect () out of the question, the proposed floor all member functions are combined with a breakpoint in CMyApplicationContainer then click Debug.
Reply:
The SetRect (aRect) on CreateWindowL () try to front

Reply:
A few days to study the development of S60 on the fast Mongolia, do not know how to do
I've done more than a year of MFC development, now let me do a S60 leadership program, some difficulty, I do not know how to start a
Hey, depressed

No comments:

Post a Comment