Thread: I decided to try this

  1. #16
    train spotter
    Join Date
    Aug 2001
    Location
    near a computer
    Posts
    3,868
    Not a problem. Let me know if it does not work.
    "Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
    Friedrich Nietzsche

    "I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
    George Best

    "If you are going through hell....keep going."
    Winston Churchill

  2. #17
    Refugee face_master's Avatar
    Join Date
    Aug 2001
    Posts
    2,052
    how about doing this:
    Code:
    hMenu = LoadMenu(hInstance, "Menu");
    
    SetMenu(hDlg, hMenu);

  3. #18
    train spotter
    Join Date
    Aug 2001
    Location
    near a computer
    Posts
    3,868
    The string is the menu ID. The name you gave it in the resource editor. Not its title.
    Code:
    LoadMenu( hInstance , MAKEINTRESOURCE(IDM_MENU_ID_NAME) );
    "Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
    Friedrich Nietzsche

    "I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
    George Best

    "If you are going through hell....keep going."
    Winston Churchill

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Hello, bored reading and a bunch of questions.
    By Jorl17 in forum C++ Programming
    Replies: 13
    Last Post: 04-03-2008, 05:43 PM
  2. So I decided to use function pointers in my code for the first time...
    By A10 in forum A Brief History of Cprogramming.com
    Replies: 12
    Last Post: 11-13-2007, 07:13 AM
  3. Game Independent Anti-cheat Project Needs Programmers
    By GIA Project Lea in forum Projects and Job Recruitment
    Replies: 3
    Last Post: 09-15-2005, 07:41 PM
  4. Full Sail
    By AKrampovitis in forum Game Programming
    Replies: 38
    Last Post: 06-01-2005, 08:21 AM
  5. I've decided Bush is right, and we're wrong.
    By Jeremy G in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 03-30-2005, 09:16 PM