摘要: #pragma once // CMyListCtrll class CMyListCtrll : public CListCtrl { DECLARE_DYNAMIC(CMyListCtrll) public: CMyListCtrll(); virtual ~CMyListCtrll(); void InsertCol(DWORD dwCount, .... 阅读全文
posted @ 2016-03-22 08:04 天还是那么蓝 阅读(328) 评论(0) 推荐(0) 编辑
摘要: // 遍历进程Dlg.cpp : 实现文件 // #include "stdafx.h" #include "遍历进程.h" #include "遍历进程Dlg.h" #include "afxdialogex.h" #include #include #include #include "MyListCtrll.h" #ifdef _DEBUG #define new DEBUG_N... 阅读全文
posted @ 2016-03-22 08:03 天还是那么蓝 阅读(1889) 评论(0) 推荐(0) 编辑
摘要: // windows原理001.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include //宽字符转为多字符(Unicode-->ASCⅡ) #define WCHAR_TO_CHAR(lpW_Char,lpChar) WideCharToMultiByte(CP_ACP,NULL,lpW_Char,-1,lpChar,_countof(lpC... 阅读全文
posted @ 2016-03-21 19:21 天还是那么蓝 阅读(179) 评论(0) 推荐(0) 编辑
摘要: 下拉框 选项卡 阅读全文
posted @ 2016-03-17 21:03 天还是那么蓝 阅读(217) 评论(0) 推荐(0) 编辑
摘要: // FileCleanerDlg.h : 头文件 // #pragma once #include using std::vector; // CFileCleanerDlg 对话框 class CFileCleanerDlg : public CDialogEx { // 构造 public: CFileCleanerDlg(CWnd* pParent = NULL); ... 阅读全文
posted @ 2016-03-17 20:56 天还是那么蓝 阅读(205) 评论(0) 推荐(0) 编辑
摘要: // MFCday003Dlg.h : 头文件 // #pragma once #include "MylistCtrl.h" #include "afxcmn.h" // CMFCday003Dlg 对话框 class CMFCday003Dlg : public CDialogEx { // 构造 public: CMFCday003Dlg(CWnd* pParent = NU... 阅读全文
posted @ 2016-03-17 20:51 天还是那么蓝 阅读(146) 评论(0) 推荐(0) 编辑
摘要: #pragma once #include using std::vector; // CDlgB 对话框 class CDlgB : public CDialogEx { DECLARE_DYNAMIC(CDlgB) public: CDlgB(CWnd* pParent = NULL); // 标准构造函数 virtual ~CDlgB(); // 对话... 阅读全文
posted @ 2016-03-17 20:45 天还是那么蓝 阅读(117) 评论(0) 推荐(0) 编辑
摘要: // MyTabCtrl.cpp : 实现文件 // #include "stdafx.h" #include "FileCleaner.h" #include "MyTabCtrl.h" // CMyTabCtrl IMPLEMENT_DYNAMIC(CMyTabCtrl, CTabCtrl) CMyTabCtrl::CMyTabCtrl() { } CMyTabCtrl::~C... 阅读全文
posted @ 2016-03-17 20:43 天还是那么蓝 阅读(227) 评论(0) 推荐(0) 编辑
摘要: void CFileCleanerDlg::OnBnClickedButton2() { //打开文件夹 static TCHAR strDirName[MAX_PATH]; BROWSEINFO bi; CString szString = TEXT("选择一个源文件子文件夹"); bi.hwndOwner = ::GetFocus(); ... 阅读全文
posted @ 2016-03-17 10:45 天还是那么蓝 阅读(172) 评论(0) 推荐(0) 编辑
摘要: BOOL CDialogEx::OnInitDialog(){ // 设置此对话框的图标。 当应用程序主窗口不是对话框时,框架将自动 // 执行此操作 SetIcon(m_hIcon, TRUE); // 设置大图标 SetIcon(m_hIcon, FALSE); // 设置小图标 // TODO: 在此添加... 阅读全文
posted @ 2016-03-17 10:43 天还是那么蓝 阅读(183) 评论(0) 推荐(0) 编辑