Menu bar in VC++

I used VC++ 6 to create a win32 project (included resource). Then I created a dialog and assigned a pre-created menu to it(properties->menu...). In the program i want to change state of menu items (grayed,disabled...) so I loaded the menu LoadMenu(GetModuleHandle(NULL),(LPCSTR)IDC_MAINMENU)
And ModifyMenu it but nothing changed, i used TrackPopupMenu to check it but the problem was still there.
I hope someone can help me, thanks a lot.
Never mind. I figured it out. Thanks.
Topic archived. No new replies allowed.