|
-
Oct 13th, 2001, 01:41 PM
#1
Thread Starter
Addicted Member
Problem with Menu
Hello, I was following a tutorial on menu (using ressource) when I got a problem : I can't make it do something when I click on the menu. Could someone please download my code and check for error?
-
Oct 13th, 2001, 02:21 PM
#2
PowerPoster
I just changed the code a little and posted the updated file now.
You need to specify the correct "header file" name in the resource file. I changed "resource.h" to "ressource.h" because you are using "ressource.h" in your project.
I also delete the line that shows a message box whenever a "WM_COMMAND" message is sent. You are trying to show the PARAMS of the message which gives you an unexpected error.
I also put a line that ends the program when "Exit" is clicked from the File menu.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|