[Bug 38125] New: MFC CRichEditCtrl does not correctly put text in Center, Right or Left

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Feb 21 06:11:38 CST 2015


https://bugs.winehq.org/show_bug.cgi?id=38125

            Bug ID: 38125
           Summary: MFC CRichEditCtrl does not correctly put text in
                    Center, Right or Left
           Product: Wine
           Version: 1.7.36
          Hardware: x86
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: winelib
          Assignee: wine-bugs at winehq.org
          Reporter: reinhold.hoffmann at hotmail.com
      Distribution: ---

Created attachment 50818
  --> https://bugs.winehq.org/attachment.cgi?id=50818
Source code to demonstrate the issue

Notation Software Germany (www.notation.com)
Dr. Reinhold Hoffmann
Eduard Thoeny Str. 6
D-86919 Utting am Ammersee
Germany
email: reinhold.hoffmann at hotmail.com


Re: MFC CRichEditCtrl does not correctly put text in Center, Right or Left
==========================================================================

Dear WineHQ-Team,

we use Wine for our products from Notation Software (Notation Composer,
Notation Musician, for more see www.notation.com) on Linux and MACs. We
encountered a problem that using MFC CRichEditCtrl. When creating a
CRichEditCtrl Windows with Create, the Window can be configured that the text
is left aligned, centered or right aligned. On WineHQ all text is left aligned
even when the parameter ES_CENTER, ES_RIGHT are set.

In order to demontrate the issue we took public available code from the
CodeProject from here:

http://www.codeproject.com/Articles/9639/Text-Editor-in-C-using-CRichEditCtrl

Please find in the attached zip file:

- demo TextEdit.exe
Run this on Windows. Type in some letters and you will see that the text is in
the center of the Window
Run this on WineQH (we used Ubuntu, Wine_1.7.36 or MAC with Wine_1.7.36). You
will see that the inserted text is left aligned in any case.

- TextEdit_src.zip 
file with the source code of the demo TextEdit
This demo was created using Microsoft VS2010. Please see the file MainFrm.cpp
around line 64. Please try yourself by using the option there. You will see
that in any case the text is only left-aligned.

We from Notation Software certify our products on WineHQ and it would be great
if someone could fix the issue.

Many thanks in particular for this great achievement of WineHQ

Best regards,

Reinhold

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list