http://bugs.winehq.org/show_bug.cgi?id=5987
Summary: riched20 : CRichEditCtrl::LineFromChar does not return correct value Product: Wine Version: 0.9.19. Platform: Other OS/Version: other Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-richedit AssignedTo: wine-bugs@winehq.org ReportedBy: renu.rajput@tcs.com
I used the function CRichEditCtrl::LineFromChar in an application to get the line number in a rich edit control. The function does not return the correct value.
In the attached sample application, if the user types in some text in the rich edit control, and clicks on any line, a messagebox box is displayed which shows the line number in which the user clicked. Under Wine, the messagebox always shows 0.