|
// hookDlg.h : header file
//
#include "SimpleTray.h"
#include "ReadOnlyEdit.h"
#if !defined(AFX_HOOKDLG_H__346C391E_14BC_11D5_A025_006067718D04__INCLUDED_)
#define AFX_HOOKDLG_H__346C391E_14BC_11D5_A025_006067718D04__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// and this define
#define DELETE_EXCEPTION(e)
/////////////////////////////////////////////////////////////////////////////
// CMBtn2DblClickDlg dialog
class CMBtn2DblClickDlg : public CDialog
{
// Construction
public:
CMBtn2DblClickDlg(CWnd* pParent = NULL); // standard constructor
INT_PTR DoModal(void);
//CSimpleTray tray;
// Dialog Data
//{{AFX_DATA(CMBtn2DblClickDlg)
enum { IDD = IDD_HOOK_DIALOG };
CButton m_Run;
CButton m_Confirm;
CStatic m_StateImage;
CReadOnlyEdit m_State;
CStatic c_Status;
CButton c_Enable;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMBtn2DblClickDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
HICON m_hIconOff;
CSimpleTray tray;
// need these prototypes
void AskExit();
void DoExit();
void DoEnable();
afx_msg LRESULT OnTrayNotify(WPARAM wParam, LPARAM lParam);
afx_msg LRESULT OnMyMbtnClick(WPARAM, LPARAM);
// Generated message map functions
//{{AFX_MSG(CMBtn2DblClickDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
virtual void OnCancel();
virtual void OnOK();
afx_msg void OnClose();
afx_msg void OnRun();
afx_msg void OnEnable();
afx_msg void OnHelp();
afx_msg void OnBtnClose();
afx_msg void OnPopupEnabledblclk();
afx_msg void OnExit();
afx_msg void OnPopupExitapplication();
afx_msg void OnPopupShowconfig();
afx_msg void OnConfirm();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_HOOKDLG_H__346C391E_14BC_11D5_A025_006067718D04__INCLUDED_)
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.