Changeset 9641 for trunk/src


Ignore:
Timestamp:
Jan 7, 2003, 12:55:05 PM (23 years ago)
Author:
sandervl
Message:

Don't forward WM_NCCALCSIZE to Edit control or else the richedit parent's client area is resized. We already resize the Edit child in the WM_SIZE handler

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/riched32/richedit.c

    r9407 r9641  
    618618            return SendMessageA( hwndEdit, uMsg, wParam, lParam);
    619619     case WM_NCCALCSIZE:
     620#ifdef __WIN32OS2__
     621            break; //this is completely wrong, we resize the control in the WM_SIZE handler
     622#else
    620623            DPRINTF_EDIT_MSG32("WM_NCCALCSIZE Passed to edit control");
    621624            return SendMessageA( hwndEdit, uMsg, wParam, lParam);
     625#endif
    622626     case WM_GETTEXT:
    623627            DPRINTF_EDIT_MSG32("WM_GETTEXT Passed to edit control");
Note: See TracChangeset for help on using the changeset viewer.