There are three ways to
create a menu:
Ø Creating a
menu using resource editor. After creating the menu it can be loaded either
during creating the window using the resource ID of the menu or by using
CMenu::LoadMenu() function.
Ø Creating
menu at run time by using functions like CreateMenu(), InsertMenu(),
AppendMenu() etc.
Ø Creating
the menu by filling a series of data structures defining the menu’s contentsand
then create the menu using CMenu::LoadMenuIndirect() function.
No comments:
Write comments