Changelog: - Applications built using Stingray Objective Toolkit expects that an owner drawn menu has the ODS_DISABLED bit set when the item is grayed. I am not sure if ODS_GRAYED should be set too, so I left it there. Alberto Index: menu.c =================================================================== RCS file: /home/wine/wine/controls/menu.c,v retrieving revision 1.156 diff -u -r1.156 menu.c --- menu.c 22 Nov 2002 22:25:59 -0000 1.156 +++ menu.c 16 Dec 2002 21:07:42 -0000 @@ -1162,7 +1162,7 @@ dis.itemData = (DWORD)lpitem->dwItemData; dis.itemState = 0; if (lpitem->fState & MF_CHECKED) dis.itemState |= ODS_CHECKED; - if (lpitem->fState & MF_GRAYED) dis.itemState |= ODS_GRAYED; + if (lpitem->fState & MF_GRAYED) dis.itemState |= ODS_GRAYED|ODS_DISABLED; if (lpitem->fState & MF_HILITE) dis.itemState |= ODS_SELECTED; dis.itemAction = odaction; /* ODA_DRAWENTIRE | ODA_SELECT | ODA_FOCUS; */ dis.hwndItem = (HWND)hmenu;