Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

59 lines
1.6 KiB

  1. // convertDlg.h : header file
  2. //
  3. #if !defined(AFX_CONVERTDLG_H__BA686E67_1D0D_11D5_B8EB_0080C8E09118__INCLUDED_)
  4. #define AFX_CONVERTDLG_H__BA686E67_1D0D_11D5_B8EB_0080C8E09118__INCLUDED_
  5. #if _MSC_VER > 1000
  6. #pragma once
  7. #endif // _MSC_VER > 1000
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CConvertDlg dialog
  10. class CConvertDlg : public CDialog
  11. {
  12. // Construction
  13. public:
  14. CConvertDlg(CWnd* pParent = NULL); // standard constructor
  15. // Dialog Data
  16. //{{AFX_DATA(CConvertDlg)
  17. enum { IDD = IDD_CONVERT_DIALOG };
  18. CButton m_cBtnConvert;
  19. CString m_strSourceFileName;
  20. CString m_strTargetFileName;
  21. int m_ToUnicodeOrAnsi;
  22. //}}AFX_DATA
  23. // ClassWizard generated virtual function overrides
  24. //{{AFX_VIRTUAL(CConvertDlg)
  25. protected:
  26. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  27. //}}AFX_VIRTUAL
  28. // Implementation
  29. protected:
  30. HICON m_hIcon;
  31. BOOL m_fTargetFileNameChanged;
  32. // Generated message map functions
  33. //{{AFX_MSG(CConvertDlg)
  34. virtual BOOL OnInitDialog();
  35. afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
  36. afx_msg void OnPaint();
  37. afx_msg HCURSOR OnQueryDragIcon();
  38. afx_msg void OnOpensourcefile();
  39. afx_msg void OnAbout();
  40. afx_msg void OnChangeTargetfilename();
  41. afx_msg void OnGbtounicode();
  42. afx_msg void OnUnicodetogb();
  43. afx_msg void OnConvert();
  44. //}}AFX_MSG
  45. DECLARE_MESSAGE_MAP()
  46. };
  47. //{{AFX_INSERT_LOCATION}}
  48. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  49. #endif // !defined(AFX_CONVERTDLG_H__BA686E67_1D0D_11D5_B8EB_0080C8E09118__INCLUDED_)