How do you create a menu in C++? I checked out a tutorial but it's written basically in C, not C++. A couple of examples will do.
Thanks :)
Printable View
How do you create a menu in C++? I checked out a tutorial but it's written basically in C, not C++. A couple of examples will do.
Thanks :)
For Win32 or Console?
For Win32.
http://www.codeproject.com, there should be something there on menu's. There's another site, like winforge or soemthing, but I forgot the address, maybe someone around here will know.
I'll check it out :)
Thanks :)
No problemo...if that don't work, search google for win32 menus or something.
also get a copy of MSDN library from somewhere...
Use MFC, its dead easy!!
>>...its dead easy...
Don't use MFC
its easy, but its DEAD :)
lol....actually, that depends on what u think.
So what's that MSDN library you're talking about? What does it do and where do i get it from? And another thing, how can I set the icon of my Win32 Application?
Thanks :)
>>so what's that MSDN library you're talking about?
errm ,... MSDN is not a library in terms of programing (like lib files or DLL's)
it is a library in the sense of a book :)
you can buy or download or subscribe to recieve copies of it from www.microsoft.com i think
it comes with 4 CD's full of compiled HTML files (chm)
with explanations of Win32API MFC and so on...
As for the Microsoft Fried Chickens (MFC)
its BAD for me...
i use the standart Win32API ... its harder to write but it is more powerfull and good.. :)
Edit the resource file. If your using MSVC++, it's easier. Just go to the resource tab, and add the icons and stuff. But you have to make them, but Microsoft has a program that lets you do it.Quote:
Originally posted by Ruski
And another thing, how can I set the icon of my Win32 Application?
Thanks :)
Actually I'm using Dev-C++, not VC++
Thanks :)
> how can I set the icon of my Win32 Application?
In Dev-C++, go to Project Options (alt-P)