Discussion Board

Results 1 to 3 of 3

Hybrid View

  1. #1
    Regular Contributor noussaENSI's Avatar
    Join Date
    Feb 2007
    Posts
    125
    I used this code:
    Code:
          CreateWindowL();
          SetRect( aRect );
          TResourceReader reader;
          iCoeEnv->CreateResourceReaderLC(reader, R_STARTTIME);
          iEdwin = new(ELeave) CEikRichTextEditor(TGulBorder::EThickDeepRaisedWithOutline);
          iEdwin->SetContainerWindowL(*this);
          iEdwin->ConstructFromResourceL(reader);
          CleanupStack::PopAndDestroy(); // reader
          iEdwin->SetExtent(TPoint(0,20),TSize(85,20));
          iEdwin->SetBackgroundColorL(KRgbDarkRed);
          iEdwin->SetFocus(ETrue);
          ActivateL();
          iEdwin->SetCursorPosL(0, EFalse);
    
    
    //.rss
    RESOURCE RTXTED r_starttime
    {
     width = 85;
     height = 20;
     textlimit = 50;
     flags = EEikEdwinReadOnly | EEikEdwinAvkonDisableCursor;
     
    }
    it gives me this error:
    Code:
    undefined identifier 'R_STARTTIME'

  2. #2
    Super Contributor Priju Jacob Paul's Avatar
    Join Date
    Oct 2005
    Location
    Hyderabad,India
    Posts
    1,156
    Your .rsg file is missing "R_STARTTIME". Check whether you have included the .rsg file as a header.

    Priju

  3. #3
    Nokia Developer Champion kkrish's Avatar
    Join Date
    Jun 2006
    Location
    India
    Posts
    3,029
    you just import the project onec again and compile the entire files because you have already given the r_starttime in .rss file.

Similar Threads

  1. Problem showing the SMS body text on RichText Editor
    By saadmansur in forum Symbian Networking & Messaging (Closed)
    Replies: 1
    Last Post: 2007-06-21, 11:30
  2. can i have background image in rich text editor
    By sunny_singh in forum Symbian C++
    Replies: 3
    Last Post: 2006-09-01, 10:40
  3. multicolor text in editor
    By avi141 in forum Symbian User Interface
    Replies: 2
    Last Post: 2006-06-15, 11:08
  4. Rich text editor and form in one page
    By ninidotnet in forum Symbian User Interface
    Replies: 2
    Last Post: 2006-04-18, 03:51
  5. Rich Text Editor and Dialog
    By sakhya in forum Symbian User Interface
    Replies: 0
    Last Post: 2005-04-28, 17:08

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved