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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top