DlgGuessWidth.h
上传用户:gzboli
上传日期:2013-04-10
资源大小:471k
文件大小:2k
源码类别:

图片显示

开发平台:

Visual C++

  1. #if !defined(AFX_DLGGUESSWIDTH_H__36B13475_7ECC_4651_B476_D1F06259439B__INCLUDED_)
  2. #define AFX_DLGGUESSWIDTH_H__36B13475_7ECC_4651_B476_D1F06259439B__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // DlgGuessWidth.h : header file
  7. //
  8. #include "importsbtnst.h"
  9. /////////////////////////////////////////////////////////////////////////////
  10. // CDlgGuessWidth dialog
  11. class CDlgGuessWidth : public CDialog
  12. {
  13. private:
  14. // CButtonST m_btOK;
  15. // CButtonST m_btCancel;
  16. public:
  17. char PATHNAME[_MAX_PATH];
  18. char TITLE[30];
  19. double m_dCorr;
  20. private:
  21. DWORD FILELENGTH;
  22. // Construction
  23. public:
  24. CDlgGuessWidth(CWnd* pParent = NULL);   // standard constructor
  25. // Dialog Data
  26. //{{AFX_DATA(CDlgGuessWidth)
  27. enum { IDD = IDD_GUESSWIDTH };
  28. int m_iDepth;
  29. DWORD m_iHeight;
  30. DWORD m_iWidth;
  31. DWORD m_iHeaderSize;
  32. //}}AFX_DATA
  33. // Overrides
  34. // ClassWizard generated virtual function overrides
  35. //{{AFX_VIRTUAL(CDlgGuessWidth)
  36. protected:
  37. virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  38. //}}AFX_VIRTUAL
  39. // Implementation
  40. protected:
  41. // Generated message map functions
  42. //{{AFX_MSG(CDlgGuessWidth)
  43. afx_msg void OnKillfocusEditWidth();
  44. afx_msg void OnSetfocusEditWidth();
  45. afx_msg void OnKillfocusEditHeight();
  46. afx_msg void OnSetfocusEditHeight();
  47. afx_msg void OnKillfocusEditHeaderSize();
  48. afx_msg void OnSetfocusEditHeaderSize();
  49. afx_msg void OnGuess();
  50. afx_msg void OnSwap();
  51. virtual void OnOK();
  52. virtual BOOL OnInitDialog();
  53. afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
  54. //}}AFX_MSG
  55. afx_msg void OnChannels(UINT uID);
  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_DLGGUESSWIDTH_H__36B13475_7ECC_4651_B476_D1F06259439B__INCLUDED_)