Help please, and quickly if possible.

So I created my menu, and menu items like this


case WM_CREATE:
{ Sleep(1000);




AppendMenu(Men1,MF_POPUP, (UINT_PTR)Options1, "Game Type");
AppendMenu(Options1, MF_STRING, NULL, "CommandPrompt(Text Based)");
AppendMenu(Options1, MF_STRING, NULL, "Windows Mode(Semi-Graphics based)");
AppendMenu(Options1, MF_STRING, NULL, "Windows Mode(Text Based)");
AppendMenu(Options1, MF_STRING, NULL, "2D Mode");
AppendMenu(Options1, MF_STRING, NULL, "3D Mode");

SetMenu(hwnd, Men1);

break;
}


So how would I command something to happen when someone clicks on Options1?
I'm not sure what you mean by "quick", this took me about an hour to read and look up the functions etc: http://www.winprog.org/tutorial/resources.html

It's MUCH easier to use a resource editor for this type of work though.
I figured it out, I know the resource way I was wanting to learn the other way, but thank-you so much. c:
Topic archived. No new replies allowed.