Heehee , should be like this

			if (nextState == CORE_RUNNING) 
				PostMessage(hwndMain, WM_COMMAND, ID_EMULATION_RUN, 0);
			UpdateMenus();