Problem with SWIPELIST_SetScrollPosItem

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • Problem with SWIPELIST_SetScrollPosItem

    Hi!
    I'm using emWin 5.32.
    In my application, a SWIPELIST is created with the attached widgets.
    When I flip the SWIPELIST finger, everything flushes fine and all the widgets are updated and repainted.
    But when I use SWIPELIST_SetScrollPosItem, SWIPELIST scrolls to the desired position, but widgets do not move.
    If after that, swipe with the SWIPELIST finger, then all the widgets are repainted correctly. How to fix it?
    Files
    • SC225203.BMP

      (768.05 kB, downloaded 392 times, last: )
  • The only solution that I found was to do so.
    1. execute SWIPELIST_SetScrollPosItem;
    2. Detach and delete alll widgets using WM_DeleteWindow and SWIPELIST_ItemDetachWindow
    2. Create and attach all widgets.

    But this is somehow not beautiful. :S
  • Hi,

    This issue has been fixed with version 5.40 of emWin.

    Unfortunately, we are not responsible to update the pre compiled libraries provided by the silicon vendors. Please ask the provider of your libraries to update to the latest version.

    Regards,
    Sven
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.