Repro steps:
1. Run
Code: Select all
InputBox, return_value, , , , , , , , Locale, , something
msgbox returned: %return_value%. ErrorLevel: %ErrorLevel%
yields returned: something. ErrorLevel: 1
Code: Select all
InputBox, return_value, , , , , , , , Locale, , something
msgbox returned: %return_value%. ErrorLevel: %ErrorLevel%
Code: Select all
// Widen the buttons for non-English names (approx. the width of a MsgBox button):
GetWindowRect(hbtOk, &rect);
SetWindowPos(hbtOk, NULL, NULL, NULL, 88, rect.bottom - rect.top, SWP_NOMOVE | SWP_NOREDRAW);
GetWindowRect(hbtCancel, &rect);
SetWindowPos(hbtCancel, NULL, NULL, NULL, 88, rect.bottom - rect.top, SWP_NOMOVE | SWP_NOREDRAW);
Code: Select all
SetWindowPos(hbtOk, HWND_NOTOPMOST, NULL, NULL, 88, rect.bottom - rect.top, SWP_NOMOVE | SWP_NOREDRAW);
SetWindowPos(hbtCancel, HWND_NOTOPMOST, NULL, NULL, 88, rect.bottom - rect.top, SWP_NOMOVE | SWP_NOREDRAW);
Workarounds?Micromegas wrote: ↑04 Mar 2020, 05:52Did I misunderstand the purpose of this forum? I posted this specifically under “Bug Reports” to report this, not to receive continuous tinkering with workarounds. I'm unsubscribing the topic now; if there is any comment that treats this as something like a bug report, please send me a private message.
+10000gregster wrote: ↑04 Mar 2020, 07:39Workarounds?
As far as I understand, these posts are about a possibly relevant part of AHK's C++ sourcecode; hence, these are contributions that could actually help fix the problem on a general level.
Just as a reminder: all forum members, developers and team members are pure, unpaid volunteers that offer their knowledge and limited free time to the benefit of the community and to the best extent they can.
If this doesn't meet your requirements or isn't "enough bang for the buck", feel free to make a pull request yourself on github, which fixes this problem, or hire a professional. Otherwise, we should welcome any contribution that potentially could lead to the improvement of AHK, even if it should turn out that not every post was spot-on.
Thank you for your understanding!
since you've unsubscribed, maybe you won't see this, or maybe you won't care since you think its just a tinkering workaround, but just-me was correct and adding SWP_NOZORDER fixes the bug.Micromegas wrote: ↑04 Mar 2020, 05:52Did I misunderstand the purpose of this forum? I posted this specifically under “Bug Reports” to report this, not to receive continuous tinkering with workarounds. I'm unsubscribing the topic now; if there is any comment that treats this as something like a bug report, please send me a private message.
Users browsing this forum: No registered users and 58 guests