FileManageDlg.h
资源名称:Visualhk.rar [点击查看]
上传用户:cjw5120
上传日期:2022-05-11
资源大小:5032k
文件大小:2k
源码类别:
网络截获/分析
开发平台:
Visual C++
- #if !defined(AFX_FILEMANAGEDLG_H__379A9DB4_7536_4152_AA59_2A4773E89CF9__INCLUDED_)
- #define AFX_FILEMANAGEDLG_H__379A9DB4_7536_4152_AA59_2A4773E89CF9__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // FileManageDlg.h : header file
- //
- /*
- 作者:海啸 lyyer English Name: Jack
- blog:http://lyyer.blog.sohu.com
- website:http://www.cnGSG.com
- 海啸网络安全组织
- */
- //自定义消息
- #define BEGIN_MESSAGE WM_USER + 0x77
- #define STOP_MESSAGE WM_USER + 0x88
- /////////////////////////////////////////////////////////////////////////////
- // CFileManageDlg dialog
- #include "SerachListCtrl.h"
- class CFileManageDlg : public CDialog
- {
- // Construction
- public:
- void GetFileIcon(CString &fileName, int *iIcon);
- void DeleteTreeChildItem(HTREEITEM hit);
- void GetItPath(HTREEITEM hitem, char *path);
- BOOL OnInitDialog();
- //void OnBeginMsg(WPARAM wParam, LPARAM lParam);
- //void OnStopMsg(WPARAM wParam, LPARAM lParam);
- CFileManageDlg(CWnd* pParent = NULL); // standard constructor
- char chrPath[MAX_PATH];
- HTREEITEM TreeNode;
- CImageList m_ImageList1;
- CImageList m_ImageList2;
- SOCKET ClientSocket;
- // Dialog Data
- //{{AFX_DATA(CFileManageDlg)
- enum { IDD = IDD_DIALOG_FILEMANAGE };
- CTreeCtrl m_tree;
- //CListCtrl m_list;
- CSerachListCtrl m_list;
- CImageList m_ImageList;
- //}}AFX_DATA
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CFileManageDlg)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- // Generated message map functions
- //{{AFX_MSG(CFileManageDlg)
- afx_msg void OnBeginMsg(WPARAM wParam,LPARAM lParam);
- afx_msg void OnStopMsg(WPARAM wParam,LPARAM lParam);
- afx_msg void OnClickTreeDir(NMHDR* pNMHDR, LRESULT* pResult);
- afx_msg void OnRclickList(NMHDR* pNMHDR, LRESULT* pResult);
- afx_msg void OnMenuitemFileDel();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_FILEMANAGEDLG_H__379A9DB4_7536_4152_AA59_2A4773E89CF9__INCLUDED_)