开发者

How to add menubar in my program with Visual Studio 2008?

开发者 https://www.devze.com 2022-12-19 23:11 出处:网络
I managed to create the menubar in the menu editor by clicking and writing text to each menu item i wanted.

I managed to create the menubar in the menu editor by clicking and writing text to each menu item i wanted.

I cant see开发者_如何学C any button to get the code to include the menu in my program.

How i can get this menu working?

C++


depends on whether you are using pure win32 api or MFC. But being a newbie i will first assume that you are using win32 api. do a simple google search for forgers win32 tutorials.

just to satisify you, edit the main.cpp file and change the WNDCLASSEX structure, under the lpszMenuName part.

See, you just cant keep using visual studio's code generation features. You have to understand the code behind the menu, and it is not hard. other wise you will never understand the more advanced features. No offence but these things are covered all over the internet.

0

精彩评论

暂无评论...
验证码 换一张
取 消