主要实现代码:
tchar bigbuff[2048] = ""; // maximum common dialog buffer size tchar szfilter[] = "text files (*.wav)|*.wav|all files (*.*)|*.*||"; //tchar csfilename[max_path]; //cstring csfilename; cstring m_strfilepath; 【程序编程相关:Windows GDI学习笔记(1)——】
hmmio m_hmmio; mmckinfo m_mmckinfoparent; waveformatex m_pcmwavefmtrecord; mmckinfo m_mmckinfochild; 【推荐阅读:《循序渐进学用Visual C++ 6.】
cfiledialog dlg(true, null, null, ofn_hidereadonly | ofn_allowmultiselect, szfilter); 【扩展信息:Dialog中加入一个工具栏如果让它有提】
cstring strwaveinformation; cstring szextfile;
// modify openfilename members directly to point to bigbuff dlg.m_ofn.lpstrfile = bigbuff; dlg.m_ofn.nmaxfile = sizeof(bigbuff);
... 下一页