https://bugs.winehq.org/show_bug.cgi?id=56108
Bug ID: 56108 Summary: Edit control should stop processing characters when left mouse button is down Product: Wine Version: 9.0-rc3 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: comctl32 Assignee: wine-bugs@winehq.org Reporter: kyle.kcsoftwares@gmail.com Distribution: ---
When the left mouse button is held down, the edit control should stop processing characters until the button is released.
Fix :
static LRESULT EDIT_WM_Char(EDITSTATE *es, WCHAR c) { BOOL control;
+ if (es->bCaptureState) + { + return 0; + } + control = GetKeyState(VK_CONTROL) & 0x8000;