×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Apr 2005
    Location
    England
    Posts
    91

    Question Dynamic ListBox Refresh Problem

    Hi there.

    Im implemented a dynamic list where items are added using a dialog.
    On the first iteration, (first items entered), the listbox updates correctly and the item can be viewed. However, on the second iteration, the first item can be seen, but the second one cannot until the add item dialog is called again (ie a thrid item is added). So the items are being added, but theres a delay on the screen.

    Ive tried to trace it, but ive got lost deep inside library functions! I was wondering is there was a refresh listbox function i could call, such as the HandleItemRemovalAndPositionHighlightL( ) which is used to handle the refresh of the listbox when an item is deleted.

    Any pointers in the right direction would be a great help,
    Thanks, Helen

  2. #2
    Regular Contributor
    Join Date
    Apr 2005
    Location
    England
    Posts
    91
    Fixed it... I could use AknListBoxUtils::HandleItemRemovalAndPositionHighlightL( ) after all! The name of the function doesnt really represent addition of items now does it...

  3. #3
    Regular Contributor
    Join Date
    Mar 2005
    Location
    Bangalore,India
    Posts
    306
    Did u try
    iListBox->HandleItemAdditionL() method?

Posting Permissions

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