2012年8月8日

打开子对话框 选择文件

摘要: CString strFilter(_T("BMP FILE(*txt)|*txt||")); CFileDialog filedlg(TRUE,NULL,NULL,OFN_HIDEREADONLY|OFN_OVERWRITEPROMPT,strFilter);//read file if (filedlg.DoModal() != IDOK) return; imagePath = filedlg.GetPathName();/// 阅读全文

posted @ 2012-08-08 17:49 mrpomelo 阅读(171) 评论(0) 推荐(0)

combo box

摘要: CComboBox m_combo;////.h bool bComboBoxSelected;////.h/////OnCbnSelchangeCombovoid CMyDlg::OnCbnSelchangeCombo(){ // TODO: Add your control notification handler code here CString filePath = "BackGround\\"; CString fileName; //获得指定序号的文本,序号由GetCurSel()获得用户当前选定的项序号 m_combo.... 阅读全文

posted @ 2012-08-08 17:47 mrpomelo 阅读(193) 评论(0) 推荐(0)

导航