User32::MENU_CopySysPopup problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



When this code may fail?


Code:
/***********************************************************************
 *           MENU_CopySysPopup
 *
 * Return the default system menu.
 */
static HMENU MENU_CopySysPopup(BOOL mdi)
{
    static const WCHAR sysmenuW[] = {'S','Y','S','M','E','N','U',0};
    static const WCHAR sysmenumdiW[] = {'S','Y','S','M','E','N','U','M','D','I',0};

    HMENU hMenu = LoadMenuW(user32_module, (mdi ? sysmenumdiW : sysmenuW));
...



I have tried setting "LC_ALL" to "en".
hMenu is always 0 for my test-app  [Rolling Eyes]







[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux