www.pudn.com > LastTray_Jpeg.rar > TrayDlg.h


// TrayDlg.h : header file 
// 
 
#if !defined(AFX_TRAYDLG_H__C0CFCC7E_3893_4BC4_8965_6A907479BA1C__INCLUDED_) 
#define AFX_TRAYDLG_H__C0CFCC7E_3893_4BC4_8965_6A907479BA1C__INCLUDED_ 
 
#include "Capture.h"	// Added by ClassView 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
///////////////////////////////////////////////////////////////////////////// 
// CTrayDlg dialog 
 
class CTrayDlg : public CDialog 
{ 
// Construction 
public: 
	UINT m_nMYMESSAGE; 
	BOOL m_IsShow; 
	CTrayDlg(CWnd* pParent = NULL);	// standard constructor 
	bool point; 
// Dialog Data 
	//{{AFX_DATA(CTrayDlg) 
	enum { IDD = IDD_TRAY_DIALOG }; 
	CButton	m_capture; 
	CEdit	m_bottomy; 
	CEdit	m_bottomx; 
	CEdit	m_upy; 
	CEdit	m_upx; 
	//}}AFX_DATA 
 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CTrayDlg) 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support 
	virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam); 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
//	CCapture m_Capture; 
	HICON m_hIcon; 
 
	// Generated message map functions 
	//{{AFX_MSG(CTrayDlg) 
	virtual BOOL OnInitDialog(); 
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam); 
	afx_msg void OnPaint(); 
	afx_msg HCURSOR OnQueryDragIcon(); 
	afx_msg void OnHide(); 
	afx_msg void OnMenuMain(); 
	afx_msg void OnMenuExit(); 
	afx_msg LRESULT OnShowTask(WPARAM wParam,LPARAM lParam); 
	afx_msg void OnCapture(); 
	afx_msg void OnAbout(); 
	afx_msg void OnFullScreen(); 
	afx_msg void OnPartScreen(); 
	afx_msg void OnBUTTONhookNew(); 
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point); 
	afx_msg void OnDefault(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
private: 
	BOOL bHooked; 
	CMouseHook mhook; 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_TRAYDLG_H__C0CFCC7E_3893_4BC4_8965_6A907479BA1C__INCLUDED_)