Results 1 to 2 of 2

Thread: Problem with Menu

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    May 2001
    Location
    Québec, Canada
    Posts
    131

    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?
    Khavoerm Irithyl

  2. #2
    PowerPoster abdul's Avatar
    Join Date
    Dec 2000
    Location
    Ontario,Canada
    Posts
    2,827
    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.
    Baaaaaaaaah

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width