×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    108

    need help with CEikEdwin

    hi,
    i am having problem with creating a CEikEdwin object. i dont want to create it from a resource file. the program seems to be creating the object (i can see the cursor) but crashes just after that and gives an error -- the memory couldnt be written. what could be going wrong? the code is below -

    CEikEdwin* iEdwin = new (ELeave) CEikEdwin;
    iEdwin->SetContainerWindowL(*this);

    iEdwin->ConstructL(0,1,50,10); // <<---- is this ok?

    iEdwin->SetExtent((TPoint(0,100)), TSize(100,100));
    iEdwin->SetFocus(ETrue);

    thanks,
    ash

  2. #2
    Registered User
    Join Date
    Mar 2003
    Location
    Tampere, Finland
    Posts
    29

    RE: need help with CEikEdwin

    There's an example of Edwin creation in Nokia 9200 SDK \NokiaCPP\UITestSource\EikTest\src\TEDWin.cpp, class CSimpleControl.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •