How to build a logical menu with submenus in C code?

Status
Not open for further replies.

mhamini

Member level 1
Joined
Aug 23, 2005
Messages
40
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Location
Iran-Tehran
Activity points
1,690
submenus in C

Hi,

Would you please give some hints how to build up a logical menu with submenus in C code. This is first time I do that. I don't know how. I have three buttons used to choice and select alteratives.
Have you some exemples you can share with me? Thank you in advace!

Best Regards,
 

Re: submenus in C

2 ways: by resource editor (Visual C++) or by code (any compiler/ide)

by resource editor, create a resource file, add a menu and add as much as you please
put a handle to the menu into the WNDCLASSEX structure upon registering the window (load with LoadMenu())

by code https://msdn.microsoft.com/library/...us/menureference/menufunctions/createmenu.asp
msdn resource, look at related functions - should give you a hint
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…