The MASM Forum

General => The Soap Box => Topic started by: jj2007 on July 13, 2018, 01:43:21 PM

Title: AppendMenu
Post by: jj2007 on July 13, 2018, 01:43:21 PM
From the old Win32.hlp file:
Quote
The AppendMenu function has been superseded by the InsertMenuItem function.
...
Obsolete Functions

AppendMenu
ChangeMenu
InsertMenu
ModifyMenu
RemoveMenu

But MSDN (https://docs.microsoft.com/en-gb/windows/desktop/menurc/menu-functions) says they are alive 'n kickin'... apparently nobody was willing or able to fill in the crappy MENUITEMINFO structure ;)
Title: Re: AppendMenu
Post by: hutch-- on July 13, 2018, 04:24:44 PM
 :biggrin:

I have learnt a similar trick, if Microsoft say a function is deprecated, its just M$ double talk for "Stable at last". GlobalAlloc() has been politically incorrect for years, that's why I use it.