Symbian
Symbian OS Library

FAQ-0832 Why is my call to CEikListBox::HandleItemRemovalL() not reflected on the screen?

[Index][spacer] [Previous] [Next]



 

Classification: C++ Category: EIKON
Created: 11/07/2002 Modified: 04/11/2003
Number: FAQ-0832
Platform: Not Applicable

Question:
I remove an item from my ListBox model and make a call to CEikListBox::HandleItemRemovalL(). But the update is not reflected to the screen immediately. Why is this and what can I do about it?


Answer:
Whereas HandleItemAdditionL() includes a call to DrawNow(), rather counter-intuitivley HandleItemRemovalL() does not. So you should make an explicit call to CEikListBox::DrawNow() immediately after your call to CEikListBox::HandleItemRemovalL().