case IDC_OPEN:
		{
OPENFILENAME ofn;
char szFile[MAX_PATH];
ZeroMemory(&ofn,sizeof(ofn));
ofn.lStructSize = sizeof(ofn);
ofn.lpstrFile = szFile;
ofn.lpstrFile[0] = TEXT('\0');
ofn.nMaxFile = sizeof(szFile);
ofn.lpstrFilter = TEXT("ALL\0*.*\0Text\0*.TXT\0");
ofn.nFilterIndex = 1;
ofn.lpstrFileTitle = NULL;
ofn.nMaxFileTitle = 0;
ofn.lpstrInitialDir = NULL;
ofn.hwndOwner = hwnd;//自学能力、探索能力、猜测能力
ofn.Flags = OFN_EXPLORER |OFN_PATHMUSTEXIST | OFN_FILEMUSTEXIST;
if (!GetOpenFileName(&ofn))
{
        break;
}
MessageBox(hwnd,szFile," ",MB_OK);
char szPlayFile[MAX_PATH];
char szFiletmp[MAX_PATH];
GetShortPathName(
	szFile, //指定的要转换的路径
	szFiletmp, //接收短路径形式的缓冲区
	sizeof(szFiletmp)//缓冲区的长度
	);
wsprintf(szPlayFile,"play %s",szFiletmp);
MessageBox(hwnd,szPlayFile," ",MB_OK);
mciSendString(szPlayFile,"",0,NULL);
		}
		break;