dwatchdlg.h

来自「监控文件目录的VC程序」· C头文件 代码 · 共 55 行

H
55
字号
// dwatchDlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CDwatchDlg dialog



class CDwatchDlg : public CDialog
{
// Construction
public:
	CDwatchDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CDwatchDlg)
	enum { IDD = IDD_DWATCH_DIALOG };
	CListCtrl	m_listctrl;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDwatchDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
public:
	COptionsDialog m_options;
	// ThreadInfo im Klartext
	CString m_infotxt[8];
	// Setzt einen Eintrag im ListCtrl
	void SetEntry (int num, FILE_NOTIFY_INFORMATION *buffer);
	// Visibility-Flag fuer's ListCtrl
	BOOL m_visibility;

protected:
	void KillAllThreads (void);
	void UpdateTitle (BOOL flag);
	void OnOK();
	HICON m_hIcon;
	CWinThread *m_updater;

	// Generated message map functions
	//{{AFX_MSG(CDwatchDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
	afx_msg void OnClose();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?