LISTVIEW_SetAutoScrollV behavior

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

  • LISTVIEW_SetAutoScrollV behavior

    I'm running 5.16 version of emWIN on ARM7 NXP lpc2478. I have a LISTVIEW widget and have set LISTVIEW_SetAutoScrollV on. The vertical scrollbar doesn't always show up even if there are more items in the LISTVIEW than are visible. It seems to happen if I delete all items, and then add them back. I can cursor to the bottom of the listview and the items will begin showing up, but still no scrollbar. If I move the cursor pointer to the header and hover over a column boundary so that the cursor shape changes to allow column resizing and then click the header, the scrollbar pops up even if I don't actually resize anything.

    As it stands, I'm thinking of calling WM_SetCallback to process the
    header messages to see if I can emulate the mouse over/click column
    resize event. If there is an easier way, I'm open to suggestions.
    LISTVIEW doesen't seem to give me a way to get the SCROLLBAR handle so I can set it visible. I
    haven't tried iterating children of the LISTVIEW yet to see if I can
    find a SCROLLBAR.

    Any ideas on how I can force the vertical scrollbar on when it should be if autoscrollv isn't doing it properly?