I have a MFC application that uses a menu, I want the menu disabled by default (easy enough), but what command do I use to reenable it? I tried
GetDlgItem(IDM_FILE_TEST)->EnableWindow(TRUE);
The program runs up until it executes that statement, then it crashes. Any ideas?