Thread: is it so hard to find?

  1. #1
    The N00b That Owns You!
    Join Date
    Jul 2005
    Location
    Canada!
    Posts
    178

    is it so hard to find?

    im trying to find a tutorial on how to make menus ex.
    File Menu1 Help at the top of your screen i cant find it spent 20 mins on google please help
    New Function!!!!

    glAddIdol(C+noob);

    The feeling of rusty spoons against my salad fingers is almost ORGASMIC

  2. #2
    Registered /usr
    Join Date
    Aug 2001
    Location
    Newport, South Wales, UK
    Posts
    1,273
    Old skool style:-
    Code:
    //If there are complaints about these, uncomment
    /*#define ID_APP_ABOUT	0xE140
    #define ID_APP_EXIT	0xE141*/
    
    HMENU menuMain, menuFile, menuMenu1, menuHelp;
    
    menuMain = CreateMenu();
    SetMenu(hwnd, menuMain);
    menuFile = CreatePopupMenu();
    AppendMenu(menuFile, MF_STRING, ID_APP_EXIT, "E&xit");
    menuMenu1 = CreatePopupMenu();
    menuHelp = CreatePopupMenu();
    AppendMenu(menuHelp, MF_STRING, ID_APP_ABOUT, "&About");
    AppendMenu(menuMain, MF_POPUP | MF_STRING, (unsigned int)menuFile, "&Game");
    AppendMenu(menuMain, MF_POPUP | MF_STRING, (unsigned int)menuMenu1, "&Menu1");
    AppendMenu(menuMain, MF_POPUP | MF_STRING, (unsigned int)menuHelp, "&Help");
    Stick in your WM_CREATE handler or before you show your window.

  3. #3
    Dump Truck Internet valis's Avatar
    Join Date
    Jul 2005
    Posts
    357

  4. #4
    The N00b That Owns You!
    Join Date
    Jul 2005
    Location
    Canada!
    Posts
    178
    but is there a tutorial site for it i want to learn not have something done for me
    New Function!!!!

    glAddIdol(C+noob);

    The feeling of rusty spoons against my salad fingers is almost ORGASMIC

  5. #5
    Dump Truck Internet valis's Avatar
    Join Date
    Jul 2005
    Posts
    357
    this has a lot of info in it, not sure if it's exactly what you want but I hope it helps: http://msdn.microsoft.com/library/de...usingmenus.asp

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 2
    Last Post: 07-06-2005, 07:11 PM
  2. Trinary Hard Drive
    By nickname_changed in forum Tech Board
    Replies: 14
    Last Post: 05-13-2005, 10:01 AM
  3. Linux - Second Hard Drive
    By MethodMan in forum Tech Board
    Replies: 5
    Last Post: 12-22-2002, 02:46 AM
  4. Won't Return pointer, i can't find why...
    By ss3x in forum C++ Programming
    Replies: 2
    Last Post: 02-28-2002, 08:50 PM
  5. can't find error function (s/a "erf") in borland c++ libraries
    By Unregistered in forum C++ Programming
    Replies: 3
    Last Post: 11-05-2001, 12:04 PM