@msdn=http://search.microsoft.com/search/results.aspx?qu=$$$ @pinvoke=http://pinvoke.net/$$$.htm Summary: The GetMenuItemInfo API !!!!C# Signature: [DllImport("user32.dll", CharSet = CharSet.Auto)] static extern bool GetMenuItemInfo(IntPtr hMenu, UInt32 uItem, bool fByPosition, [In,Out] MENUITEMINFO lpmii); !!!!User-Defined Types: [MENUITEMINFO] [MIIM] !!!!Notes: public const UInt32 MF_BYCOMMAND = 0x00000000; public const UInt32 MF_BYPOSITION = 0x00000400; !!!!Tips & Tricks: Please add some! !!!!Sample Code: MENUITEMINFO mif = new MENUITEMINFO(MIIM.STRING | MIIM.ID); bool res = GetMenuItemInfo(hMenu, 0, true, mif); if (res) { ++mif.cch; mif.dwTypeData = new String(' ', (int)mif.cch); res = GetMenuItemInfo(hMenu, 0, true, mif); } !!!!Alternative Managed API: Do you know one? Please contribute it! Documentation: GetMenuItemInfo@msdn on MSDN
Edit user32.GetMenuIte...
You do not have permission to change this page. If you feel this is in error, please send feedback with the contact link on the main page.