[Bug 6005] New: riched20 modify flag incorrectly set

Wine Bugs wine-bugs at winehq.org
Sat Aug 19 23:39:56 CDT 2006


http://bugs.winehq.org/show_bug.cgi?id=6005

           Summary: riched20 modify flag incorrectly set
           Product: Wine
           Version: CVS
          Platform: PC-x86-64
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
         Component: wine-richedit
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: cjstimpson at afinternet.net


Using PAF 5.2.18, I open the notes editor, and hit cancel.  I always get a
dialog asking whether I want to save what I just did, but I didn't do anything.

By the time I hit cancel, editor->nModifyCount is up to 3 when it should still
be zero.  The first increment of the 3 was from setting the font.

msdn docs say for EM_GETMODIFY:
Remarks
    The system automatically clears the modification flag to zero when the
control is created. If the user changes the control's text, the system sets the
flag to nonzero. You can send the EM_SETMODIFY message to the edit control to
set or clear the flag.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list