https://bugs.winehq.org/show_bug.cgi?id=38566
Bug ID: 38566 Summary: LB_SETSEL message should set caret as well Product: Wine Version: unspecified Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: comctl32 Assignee: wine-bugs@winehq.org Reporter: q.winehq@rsn-tech.co.uk Distribution: ---
When you send the LB_SETSEL message to a multi-selection list box in Windows, it also sets the focus to the appropriate item and scrolls it into view if necessary. In Wine, this secondary function appears not to happen and an additional LB_SETCARETINDEX message is needed to duplicate the full Windows functionality.
I don't know if this happens in all circumstances, but it fixed a long-standing problem in a complex application where a list box would not automatically scroll as it did in Windows.
https://bugs.winehq.org/show_bug.cgi?id=38566
Steve Rencontre q.winehq@rsn-tech.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |q.winehq@rsn-tech.co.uk
https://bugs.winehq.org/show_bug.cgi?id=38566
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|comctl32 |user32 Version|unspecified |1.7.42
https://bugs.winehq.org/show_bug.cgi?id=38566
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com --- Created attachment 51454 --> https://bugs.winehq.org/attachment.cgi?id=51454 patch
Try this one please.
https://bugs.winehq.org/show_bug.cgi?id=38566
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1
--- Comment #2 from Nikolay Sivov bunglehead@gmail.com --- Confirming, should work as described both with user32 and comctl32 variants.
https://bugs.winehq.org/show_bug.cgi?id=38566
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
https://bugs.winehq.org/show_bug.cgi?id=38566
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|wine-bugs@winehq.org |bunglehead@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=38566
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #3 from joaopa jeremielapuree@yahoo.fr --- Does the bug still occur with current wine(4.0-rc1)?
https://bugs.winehq.org/show_bug.cgi?id=38566
--- Comment #4 from joaopa jeremielapuree@yahoo.fr --- Does the bug still occur with wine-4.19?