• Alexandre Julliard's avatar
    Stephane Lussier · 72bdd5be
    Alexandre Julliard authored
    Sheri Steeves
    Haithem Hmida
    - Height of the listbox should be adjust when LBS_OWNERDRAWFIXED is set
      and not if LBS_OWNERDRAWVARIABLE is set, previously it was not adjusting
      the size in both cases.
    - When the caret index change, items repainting need tp be in this
      order
      a) Paint old caret item without the focus
      b) Paint old caret item without the selection
      c) Paint new caret item with the selection
      d) Paint new caret item with the focus.
    - When repainting the listbox, we should paint all items regarding if
      they are slected or not and then paint after the focus item. So focus
      item will end out being painted twice. (That's what Windows does).
    72bdd5be
listbox.c 94.8 KB