Panic 54 in ceikcolumnlistbox (Symbian)

Source: Internet
Author: User

There is a substantial difference in the behavior of the basic Symbian ceikcolumnlistbox class. On

Series 60 if the old value of current item index is invalid (I. e. Either <0 or> = than number of items in the list

Model), then it is simply ignored, on uiq in case of invalid icurrentitemindex the panic 54 can be issued.

The solution is to review the source of the application and to synchronize the value of icurrentitemindex

With the real number of items in the list model. It can be done by calling methods like currentitemindex (),

Handleitemadditionl (), etc. In appropriate places of the application. Be sure that you call updatescrollbarsl

() Immediately after you call reset (), and I use this hack-like trick to solve my panic 54 problem.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.