eric pouech (@epo) commented about programs/winhlp32/winhelp.c:
/* Create button box and text Window */ CreateWindowA(BUTTON_BOX_WIN_CLASS_NAME, "", WS_CHILD | WS_VISIBLE, 0, 0, 0, 0, win->hMainWnd, (HMENU)CTL_ID_BUTTON, Globals.hInstance, NULL); + else + rect = (RECT) { + wpage->wininfo->origin.x, + wpage->wininfo->origin.y, + wpage->wininfo->size.cx, + wpage->wininfo->size.cy, + };
this will break the support of most of the popup using an oversized window does this work better: ``` diff --git a/dlls/riched20/wrap.c b/dlls/riched20/wrap.c index a4d638aec3d..d5807475c00 100644 --- a/dlls/riched20/wrap.c +++ b/dlls/riched20/wrap.c @@ -1150,8 +1150,8 @@ ME_SendRequestResize(ME_TextEditor *editor, BOOL force) info.nmhdr.idFrom = 0; info.nmhdr.code = EN_REQUESTRESIZE; info.rc = rc; - info.rc.right = editor->nTotalWidth; - info.rc.bottom = editor->nTotalLength; + info.rc.right = rc.left + editor->nTotalWidth; + info.rc.bottom = rc.right + editor->nTotalLength; editor->nEventMask &= ~ENM_REQUESTRESIZE; ITextHost_TxNotify(editor->texthost, info.nmhdr.code, &info); ``` (not sure it's the right fix, still need to investigate why the rc.top is at 1) -- https://gitlab.winehq.org/wine/wine/-/merge_requests/11400#note_146027