[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lmi] 'GetMenuString' failed with error 0x00000057
From: |
Greg Chicares |
Subject: |
Re: [lmi] 'GetMenuString' failed with error 0x00000057 |
Date: |
Sun, 31 May 2015 17:12:32 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.3.0 |
On 2015-05-31 16:36, Vadim Zeitlin wrote:
> On Sat, 30 May 2015 17:18:22 +0000 Greg Chicares <address@hidden> wrote:
>
> GC> >From time to time I've been seeing this message on the console:
> GC>
> GC> In file ../src/msw/mdi.cpp at line 1575: \
> GC> 'GetMenuString' failed with error 0x00000057 (the parameter is
> incorrect.).
[...]
> Moreover, the only way for GetMenuString() in the current code I know of
> is to ask it to retrieve the label of a non-text menu item. And the only
> non-text menu item in the MDI frame menu bar is the "MDI system" menu (the
> one activated by "Alt+-", similarly to how the main window menu is
> activated by "Alt+Space"). As this menu is part of the parent frame menu
> if, and only if, the MDI child is maximized, I believe you must have
> received this message when closing the last maximized MDI child.
I do in fact maximize the MDI child, more often than not; and I do indeed
use "Alt+-" to access the "MDI system menu". Therefore, based on your other
comments, I conclude that this is not likely to represent a real problem.