ColorSnapDlg.h
资源名称:ColorSnap.rar [点击查看]
上传用户:boxulig
上传日期:2022-06-30
资源大小:3348k
文件大小:2k
源码类别:
GDI/图象编程
开发平台:
Visual C++
- // ColorSnapDlg.h : header file
- //
- #if !defined(AFX_COLORSNAPDLG_H__40FC2CCD_0401_4315_84D6_8D0A41F45771__INCLUDED_)
- #define AFX_COLORSNAPDLG_H__40FC2CCD_0401_4315_84D6_8D0A41F45771__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- /////////////////////////////////////////////////////////////////////////////
- // CColorSnapDlg dialog
- class CColorSnapDlg : public CDialog
- {
- // Construction
- public:
- CColorSnapDlg(CWnd* pParent = NULL); // standard constructor
- // Dialog Data
- //{{AFX_DATA(CColorSnapDlg)
- enum { IDD = IDD_COLORSNAP_DIALOG };
- // NOTE: the ClassWizard will add data members here
- //}}AFX_DATA
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CColorSnapDlg)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- HICON m_hIcon;
- // Generated message map functions
- //{{AFX_MSG(CColorSnapDlg)
- virtual BOOL OnInitDialog();
- afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
- afx_msg void OnPaint();
- afx_msg HCURSOR OnQueryDragIcon();
- afx_msg void OnMouseMove(UINT nFlags, CPoint point);
- afx_msg void OnTimer(UINT nIDEvent);
- afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
- afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
- afx_msg void OnButton1();
- afx_msg void OnButton2();
- afx_msg void OnDestroy();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- private:
- bool bTimerRunning;//定时器是否在运行
- bool bCaptureWay;//0:定时器方法捕获 1:SetCapture方法捕获
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_COLORSNAPDLG_H__40FC2CCD_0401_4315_84D6_8D0A41F45771__INCLUDED_)