×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jan 2008
    Posts
    18

    Question CEikEdwin problem

    Hi, I am having a strange problem and I think I know what is happening - just wondering if anyone else has experienced this, and knows how I can resolve this issue:

    I have a simple view with a bitmap being drawn to the entire view within the view's Draw() method. In addition, I have a CEikEdwin created in the ConstructL() method of the view. Initially, I see the bitmap on the view with the CEikEdwin placed on top, all is fine.

    Code:
    |-----------------|
    |                 |
    |  |-----------|  |
    |  | CEikEdwin |  |
    |  |-----------|  |
    |                 |
    |      View       |
    |                 |
    |-----------------|
    The issue is when the view redraws (i.e. orientation changes / task swicth) - the bitmap then appears to be drawn 'over' the CEikEdwin (making the CEikEdwin almost disappeared). When I type another char, it then seems to repaint and it becomes visible again. Has anyone seen this before or know how I might resolve this?

    Regards, Martin.

  2. #2
    Super Contributor
    Join Date
    Jul 2006
    Location
    Oulu, Finland.
    Posts
    1,174

    Re: CEikEdwin problem

    Can you paste your View Code?

  3. #3
    Registered User
    Join Date
    Nov 2007
    Posts
    384

    Re: CEikEdwin problem

    Try to Clear the screen before you draw().

    But better if you paste the code here.

  4. #4
    Registered User
    Join Date
    Jan 2008
    Posts
    18

    Issue Resolved

    Thanks for the suggestions but I've solved the issue now.

    For anyone else having this problem:

    In the view's Draw() method, I now call the Draw() method for the CEikEdwin forcing it to redraw.

    Regards, Martin.

Similar Threads

  1. CEikEdwin Size Problem
    By ronald29 in forum Symbian User Interface
    Replies: 1
    Last Post: 2008-04-28, 05:47
  2. netcards - Problem with opening adapter
    By kernj in forum Symbian Tools & SDKs
    Replies: 5
    Last Post: 2007-01-10, 08:56
  3. About 6230 Bt Problem
    By eerkek in forum Bluetooth Technology
    Replies: 17
    Last Post: 2005-02-08, 12:33
  4. CEikEdwin Problem
    By binubabykurian in forum Symbian
    Replies: 5
    Last Post: 2004-11-09, 11:54
  5. 7210 Silent Problem
    By MarkMckim in forum Mobile Java General
    Replies: 1
    Last Post: 2003-03-18, 12:36

Posting Permissions

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