摘要: opencv_contrib246d.libopencv_core246d.libopencv_features2d246d.libopencv_flann246d.libopencv_gpu246d.libopencv_highgui246d.libopencv_imgproc246d.libop 阅读全文
posted @ 2017-05-25 12:49 Henry2017 阅读(79) 评论(0) 推荐(0) 编辑
摘要: Mat转IplImage * 一、 如此,Img就拥有了与mat一样的数据,在需要IplImage*类型的数据时,使用img 二、 转自http://hi.baidu.com/belial/item/1b7460d7a4605fe2795daadc 阅读全文
posted @ 2017-05-24 12:58 Henry2017 阅读(493) 评论(0) 推荐(0) 编辑
摘要: CString str("1234");int i= _ttoi(str);在ANSI 和 UNICODE 都可以用的代码 int s = 123; CString str; str.Format(_T("%d"),s); 阅读全文
posted @ 2017-05-23 14:19 Henry2017 阅读(173) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/finallyliuyu/archive/2010/10/11/1848130.html 阅读全文
posted @ 2017-05-18 15:48 Henry2017 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 添加LVN_ITEMCHANGED事件 阅读全文
posted @ 2017-05-16 10:55 Henry2017 阅读(1184) 评论(0) 推荐(0) 编辑
摘要: void CFileTestDlg::OnBnClickedButton4() { // TODO: Add your control notification handler code here CString strFolderPath("D:\\test"); if (PathIsDirectory(strFolderPath)) { MessageBox(_T(... 阅读全文
posted @ 2017-05-12 14:20 Henry2017 阅读(170) 评论(0) 推荐(0) 编辑
摘要: void CFileTestDlg::OnBnClickedButton3() { // TODO: Add your control notification handler code here CFileDialog dlg(TRUE,NULL,NULL,NULL,NULL); if(dlg.DoModal()==IDOK)// { CString str,str1; str... 阅读全文
posted @ 2017-05-12 14:19 Henry2017 阅读(240) 评论(0) 推荐(0) 编辑
摘要: CString cstr = _T("ABC"); USES_CONVERSION; string str(W2A(cstr)); 阅读全文
posted @ 2017-05-11 21:52 Henry2017 阅读(140) 评论(0) 推荐(0) 编辑
摘要: 上面代码是将文件夹地址输出到EDIT 控件中去 将文件夹打开的打开,只需一句话 阅读全文
posted @ 2017-05-11 21:21 Henry2017 阅读(433) 评论(0) 推荐(0) 编辑
摘要: m_button1.InvalidateRect(NULL); 真的是好东西啊 阅读全文
posted @ 2017-05-04 16:57 Henry2017 阅读(556) 评论(0) 推荐(0) 编辑