×

Discussion Board

Results 1 to 8 of 8
  1. #1
    Regular Contributor
    Join Date
    Apr 2008
    Posts
    309

    Smile how to draw a textlistbox on the screen

    Thanks a lot.
    Last edited by liuxingyu_best; 2009-01-06 at 11:22.

  2. #2
    Registered User
    Join Date
    Nov 2007
    Posts
    444

    Re: how to draw a textlistbox on the screen

    What is about your ComponentControl () and CountComponenets() methods?

    If you have not implemented them then try to implement.

    Regards,
    Kavit.

  3. #3
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,572

    Re: how to draw a textlistbox on the screen

    Listboxes should be used as contained controls, you can find my simple example in http://discussion.forum.nokia.com/fo...ad.php?t=92554 (#3)

  4. #4
    Regular Contributor
    Join Date
    Apr 2008
    Posts
    309

    Smile Re: how to draw a textlistbox on the screen

    Thanks a lot.
    Last edited by liuxingyu_best; 2009-01-06 at 11:22.

  5. #5
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,572

    Re: how to draw a textlistbox on the screen

    The drawing is handled implicitly via returning the listbox as a contained control (in CountComponentControls and ComponentControl).

  6. #6
    Regular Contributor
    Join Date
    Apr 2008
    Posts
    309

    Smile Re: how to draw a textlistbox on the screen

    Thanks a lot.
    Last edited by liuxingyu_best; 2009-01-06 at 11:22.

  7. #7
    Regular Contributor
    Join Date
    Apr 2008
    Posts
    309

    Smile Re: how to draw a textlistbox on the screen

    Thanks a lot.
    Last edited by liuxingyu_best; 2009-01-06 at 11:22.

  8. #8
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,572

    Re: how to draw a textlistbox on the screen

    Those methods are callback methods, the framework is going to invoke them. And they do not draw anything, the framework is going to invoke Draw on the returned objects.
    For example search for "compound control" in the SDK Help (you can include the quotation marks too), and read
    - Simple controls and compound controls
    - How to construct a control
    - How to draw controls
    - How to set the size and position of a control
    - How to write compound controls
    You can also find documentation on FN main site: www.forum.nokia.com Documentation/Symbian C++ on the left, UI for example

Similar Threads

  1. Need help to draw on idle screen
    By gigglie in forum Symbian
    Replies: 1
    Last Post: 2008-04-08, 10:22
  2. Draw a bitmap on screen -- The compatibility issue in S60 and S60_FP3
    By steveyzhang in forum Symbian Media (Closed)
    Replies: 3
    Last Post: 2006-03-16, 09:20
  3. How Can I draw faster bitmap to screen
    By yakoc in forum Symbian Media (Closed)
    Replies: 1
    Last Post: 2005-12-21, 18:35
  4. problem on copy from a bitmap and draw to the screen
    By ceehira in forum Symbian Media (Closed)
    Replies: 1
    Last Post: 2005-08-24, 12:46
  5. Draw on screen from background application
    By dancom in forum Symbian
    Replies: 2
    Last Post: 2003-05-26, 12: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
  •