Adding a menu on the fly

  • Thread starter Thread starter Sims
  • Start date Start date
S

Sims

Hi,

I know to add a menu entry on the fly using AppendMenu(...) and i know how
to remove it using RemoveMenu(...)
I can even create a popup menu on the fly but the question is how do i
remove it?

HMENU hmenupopup= CreateMenu();
AppenMenu( hmenupopup, flags);
AppenMenu( hmenupopup, flags);

then the main menu
AppenMenu( hmenu , flags, (UINT)hmenupopup, ... );

Thanks
 
Back
Top