CaptureDlg.h
上传用户:aokegd
上传日期:2009-12-14
资源大小:1276k
文件大小:2k
源码类别:

书籍源码

开发平台:

Visual C++

  1. // CaptureDlg.h : header file
  2. //
  3. #if !defined(AFX_CAPTUREDLG_H__97B51708_C928_11D5_B7D6_0080C82BE86B__INCLUDED_)
  4. #define AFX_CAPTUREDLG_H__97B51708_C928_11D5_B7D6_0080C82BE86B__INCLUDED_
  5. #if _MSC_VER > 1000
  6. #pragma once
  7. #endif // _MSC_VER > 1000
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CCaptureDlg dialog
  10. class CCaptureDlg : public CDialog
  11. {
  12. // Construction
  13. public:
  14. BOOL bTray;
  15. BOOL bRegistered;
  16. BOOL RegisterHotkey();
  17. UCHAR cKey;
  18. UCHAR cMask;
  19. void DeleteIcon();
  20. void AddIcon();
  21. UINT nCount;
  22. void SaveBmp();
  23. CCaptureDlg(CWnd* pParent = NULL); // standard constructor
  24. // Dialog Data
  25. //{{AFX_DATA(CCaptureDlg)
  26. enum { IDD = IDD_CAPTURE_DIALOG };
  27. CComboBox m_Key;
  28. BOOL m_bControl;
  29. BOOL m_bAlt;
  30. BOOL m_bShift;
  31. CString m_Path;
  32. CString m_Number;
  33. //}}AFX_DATA
  34. // ClassWizard generated virtual function overrides
  35. //{{AFX_VIRTUAL(CCaptureDlg)
  36. public:
  37. virtual BOOL PreTranslateMessage(MSG* pMsg);
  38. protected:
  39. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  40. virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
  41. //}}AFX_VIRTUAL
  42. // Implementation
  43. protected:
  44. HICON m_hIcon;
  45. // Generated message map functions
  46. //{{AFX_MSG(CCaptureDlg)
  47. virtual BOOL OnInitDialog();
  48. afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
  49. afx_msg void OnPaint();
  50. afx_msg HCURSOR OnQueryDragIcon();
  51. virtual void OnCancel();
  52. afx_msg void OnAbout();
  53. afx_msg void OnBrowse();
  54. afx_msg void OnChange();
  55. //}}AFX_MSG
  56. DECLARE_MESSAGE_MAP()
  57. };
  58. //{{AFX_INSERT_LOCATION}}
  59. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  60. #endif // !defined(AFX_CAPTUREDLG_H__97B51708_C928_11D5_B7D6_0080C82BE86B__INCLUDED_)