Stephane Lussier
commit72bdd5bee765ddc3f134de201b9223f484d24bc9
authorAlexandre Julliard <julliard@winehq.org>
Wed, 7 Jun 2000 03:17:35 +0000 (7 03:17 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 7 Jun 2000 03:17:35 +0000 (7 03:17 +0000)
tree89b0d84763de5913ac618d6e98eb9e858dc4615a
parentfeb71a69508f196f5e7131916ded913e8b4f52cb
Stephane Lussier
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).
controls/listbox.c