Hi
I have used the Wizard to create a Eikon Control application
and in the container i am using the following code in the ConstructL function to create a numeric control.
Hi yucca,
Thanx a ton. Ur suggestion worked for me. Calling NewL and
then calling ConstructL was creating the problem. I commented the ConstructL and now its working.
Re: Not able to create CAknIntegerEdwin/CAknNumericEdwin
2010-07-19, 08:42#4
but why I use CAknIntegerEdwin like that
...............................
TResourceReader reader;
iCoeEnv->CreateResourceReaderLC(reader,R_AKNINTEDITOR_GAMEVIEW_EDWIN );
iIntEdWin=new(ELeave)CAknIntegerEdWin;
iIntEdWin->SetContainerWindowL(*this);
iIntEdWin->ConstructFromResourceL(reader);
CleanupStack::PopAndDestroy();
...................................
while there the errors are all " illegal use of incomplete struct/union/class 'CAknIntegerEdWin'" but Ihad include"aknnumedwin.h"
what can I do to get it rigth?
Re: Not able to create CAknIntegerEdwin/CAknNumericEdwin
2010-07-19, 09:22#5
Make sure that the #include actually succeeds, preferably with <>. If you happen to use the Symbian^3 SDK, note that aknnumedwin.h might have been relocated into some sub-folder of epoc32\include, in that case put the folder in question amongst the SYSTEMINCLUDE paths.