-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathKent_ctrlDlg.h
More file actions
38 lines (35 loc) · 1.07 KB
/
Kent_ctrlDlg.h
File metadata and controls
38 lines (35 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#pragma once
class Kent_ctrlDlg : public CDialogEx
{
DECLARE_DYNAMIC(Kent_ctrlDlg)
public:
Kent_ctrlDlg(CWnd* pParent = NULL); // standard constructor
~Kent_ctrlDlg(void);
//外部传入
ScriptInfo *script_info;
Kent_log *Kent_log_instance;
// Dialog Data
enum { IDD = IDD_DIALOG_CTRL };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
DECLARE_MESSAGE_MAP()
public:
HICON m_hIcon;
NOTIFYICONDATA m_nid;
LRESULT OnShowTask(WPARAM wParam, LPARAM lParam);//托盘消息声明
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnDestroy();
afx_msg void OnCancel();
afx_msg void OnClose();
afx_msg void OnOK();
afx_msg void OnBnClickedButtonMenu();
afx_msg void OnBnClickedButtonStart();
afx_msg void OnBnClickedButtonStop();
afx_msg LRESULT OnHotKey(WPARAM wParam,LPARAM lParam);//快捷键
afx_msg void OnSize(UINT nType, int cx, int cy);
void kent_tips(CString Info);//托盘提示
afx_msg void OnTimer(UINT_PTR nIDEvent);
};