环境VS2015
亲测,只有在按了一个控件后执行使其他控件获得焦点
//有效方案
GetDlgItem(IDC_CONTAINER_INPUT)->SetFocus();
//下面三种无效
//GetDlgItem(uID)->PostMessage(WM_KILLFOCUS, 0, 0);
//::SendMessage(GetDlgItem(uID)->m_hWnd, WM_KILLFOCUS, -1, 0);
//SendDlgItemMessage(uID, WM_KILLFOCUS, 0, 0);