×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Aug 2009
    Posts
    35

    Bitmap not drawing to screen

    void CTestAudioContainer::WriteSomeText()
    {


    CFont* fontUsed = (CFont*)iEikonEnv->TitleFont();
    iBmpGc->UseFont(fontUsed);

    iBmpGc->SetPenColor(KRgbBlack);

    TPoint pos(50,50);

    _LIT(KExampleText,"Hello");
    iBmpGc->DrawText(KExampleText,pos);

    DrawDeferred();
    }

    If i call this from a handled event with:

    iTestAudioContainer->WriteSomeText();

    I thought it would write the text, but in fact nothing happens (no error or anything, just nothing). Can anyone see from that what i'm doing wrong?

    cheers
    Last edited by Sufo; 2010-03-13 at 05:03.

  2. #2
    Registered User
    Join Date
    Aug 2009
    Posts
    35

    Re: Bitmap not drawing to screen

    Solution found. Mark for deletion (won't let me delete thread myself).

  3. #3
    Registered User
    Join Date
    Jun 2007
    Location
    Mumbai, India
    Posts
    1,998

    Re: Bitmap not drawing to screen

    Quote Originally Posted by Sufo View Post
    Solution found. Mark for deletion (won't let me delete thread myself).
    Deleting a thread wont help others. Providing the solution to your problem might help others facing similar issues.

Similar Threads

  1. [split] mbm build error
    By mando222 in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2009-03-29, 12:32
  2. How Can I draw faster bitmap to screen
    By yakoc in forum Symbian Media (Closed)
    Replies: 1
    Last Post: 2005-12-21, 18:35
  3. Diret Screen access - bitmap shirnks
    By gilly_kumar in forum Symbian Media (Closed)
    Replies: 0
    Last Post: 2005-10-30, 20:41
  4. S80: How to draw bitmap without drawing the whole view
    By craitane in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2005-09-12, 13:37

Posting Permissions

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