123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- #pragma once
- #define USE_TRAYICON 1
- #if USE_TRAYICON
- #include "ItrayIcon.h"
- #endif
- class ClyfzSMSHandleDlg : public CDialog
- {
- public:
- ClyfzSMSHandleDlg(CWnd* pParent = NULL);
- enum { IDD = IDD_LYFZSMSHANDLE_DIALOG };
- protected:
- virtual void DoDataExchange(CDataExchange* pDX);
- #if USE_TRAYICON
- void InitTrayIcon();
-
- BOOL m_isNotify;
-
- BOOL m_bShowNc;
-
- BOOL m_bNoticeTray;
-
- ITrayIcon m_trayIcon;
- afx_msg LRESULT OnTrayNotification(WPARAM wp, LPARAM lp);
- afx_msg LRESULT OnTaskBarCreated(WPARAM wp, LPARAM lp);
- void TaskNotifyIcon();
- void TrayRight();
- #endif
- BOOL m_bAutoRuning;
- protected:
- HICON m_hIcon;
-
- virtual BOOL OnInitDialog();
- afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
- afx_msg void OnPaint();
- afx_msg HCURSOR OnQueryDragIcon();
- DECLARE_MESSAGE_MAP()
- public:
- afx_msg void OnAutorun();
- afx_msg void OnExit();
- virtual void OnCancel();
- virtual void OnOK();
- afx_msg void OnBnClickedRefresh();
- CSMSHandle m_SMSHandle;
- afx_msg void OnTimer(UINT_PTR nIDEvent);
- };
|