Re: Bug in menu.c

2004-07-30 Thread Dmitry Timoshkov
"Dan Timis" <[EMAIL PROTECTED]> wrote: > This sets the text only if MIIM_TYPE is set. I changed the first line > to: > > if (lpmii->fMask & (MIIM_TYPE|MIIM_STRING)) { > > and menus that were drawing before as a long thin vertical line, > started to show correctly. I'm not sure if this i

Bug in menu.c

2004-07-29 Thread Dan Timis
Hi, The MS documentation on the structure MENUITEMINFO says that the field fMask indicates what fields to retrieve or set. Here is what it says about the value MIIM_TYPE: Retrieves or sets the fType and dwTypeData members. Windows 98/Me, Windows 2000/XP: MIIM_TYPE is replaced by MIIM_BITMAP, MI