Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

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

Status
Not open for further replies.

mhamini

Member level 1
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.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top