Author Topic: AppendMenu  (Read 303 times)

jj2007

  • Member
  • *****
  • Posts: 8887
  • Assembler is fun ;-)
    • MasmBasic
AppendMenu
« 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 says they are alive 'n kickin'... apparently nobody was willing or able to fill in the crappy MENUITEMINFO structure ;)

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 5937
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: AppendMenu
« Reply #1 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.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :biggrin: