×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Feb 2007
    Posts
    125

    Question Problems with Rich Text Editor

    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
    Join Date
    Oct 2005
    Location
    Hyderabad,India
    Posts
    1,156

    Re: Problems with Rich Text Editor

    Your .rsg file is missing "R_STARTTIME". Check whether you have included the .rsg file as a header.

    Priju

  3. #3
    Super Contributor
    Join Date
    Jun 2006
    Location
    India
    Posts
    3,037

    Re: Problems with Rich Text Editor

    you just import the project onec again and compile the entire files because you have already given the r_starttime in .rss file.
    Use [URL="http://qt.nokia.com/products/qt-quick/"]Qt-Quick[/URL] to make your application UI more attractive.

    [URL="http://store.ovi.com/content/271896"]http://store.ovi.com/content/271896[/URL] | [URL="http://store.ovi.com/content/276199"]http://store.ovi.com/content/276199[/URL] |[URL="http://store.ovi.com/content/276202"] http://store.ovi.com/content/276202[/URL] | [URL="http://store.ovi.com/content/280827"]http://store.ovi.com/content/280827[/URL]

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
    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
  •  
×