开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜