use both button and menu ids in WM_COMMAND