YLGL.h 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. // YLGL.h : main header file for the YLGL application
  2. //
  3. #if !defined(AFX_YLGL_H__88616122_4218_48A0_9752_26D0146598CB__INCLUDED_)
  4. #define AFX_YLGL_H__88616122_4218_48A0_9752_26D0146598CB__INCLUDED_
  5. #if _MSC_VER > 1000
  6. #pragma once
  7. #endif // _MSC_VER > 1000
  8. #ifndef __AFXWIN_H__
  9. #error include 'stdafx.h' before including this file for PCH
  10. #endif
  11. #include "MainFrm.h"
  12. #include "MainFrimDlg2.h"
  13. #include "resource.h" // main symbols
  14. #include "SPBox.h"
  15. #include "./helper/ffsco.h"
  16. #include "sendhead.h"
  17. #include "refreshtable.h"
  18. #include "BtnST.h"
  19. #include "IsGrowthTx.h"
  20. #include "SearchFilter.h"
  21. extern void GongToLong(CString &date);
  22. extern void LongToGong(CString &date);
  23. extern CString GetModifyTime(CString path);
  24. extern void SetComboHei(CComboBox *pCombo, int hei);
  25. extern bool CheckFolderFileExist(CString &strPath);
  26. extern bool CheckFileExist(CString &strPath);
  27. extern BOOL LoadLia(CString path, BYTE **pData, BYTE **pDataBegin, Image **pBk, HWND hwnd);
  28. extern CString GetDateTime(Image *image);
  29. extern DEVMODE g_dm;
  30. extern CRect g_rc;
  31. extern CMainFrame *g_pMainWnd;
  32. extern MainFrimDlg2 *g_pMainWnd2;
  33. extern BOOL CALLBACK EnumChildProc(HWND hwnd,LPARAM lParam);
  34. extern float GetPointScale();
  35. extern float GetPointScale2();
  36. extern void WriteLog(CString str);
  37. extern CString GetLogStr(CString str);
  38. extern void ListToXLS(CListCtrl *pList, CString savepath, int mode);
  39. /////////////////////////////////////////////////////////////////////////////
  40. // CYLGLApp:
  41. // See YLGL.cpp for the implementation of this class
  42. //
  43. class CYLGLApp : public CWinApp
  44. {
  45. ULONG_PTR gdiplusToken;
  46. public:
  47. CYLGLApp();
  48. // Overrides
  49. // ClassWizard generated virtual function overrides
  50. //{{AFX_VIRTUAL(CYLGLApp)
  51. public:
  52. virtual BOOL InitInstance();
  53. virtual int ExitInstance();
  54. virtual int DoMessageBox(LPCTSTR lpszPrompt, UINT nType, UINT nIDPrompt);
  55. BOOL IsShareFolderExist(char *szServerName); // Jeff:在InitInstance时,检测共享文件夹是否存在;
  56. //}}AFX_VIRTUAL
  57. // Implementation
  58. //{{AFX_MSG(CYLGLApp)
  59. afx_msg void OnAppAbout();
  60. // NOTE - the ClassWizard will add and remove member functions here.
  61. // DO NOT EDIT what you see in these blocks of generated code !
  62. //}}AFX_MSG
  63. DECLARE_MESSAGE_MAP()
  64. };
  65. /////////////////////////////////////////////////////////////////////////////
  66. //{{AFX_INSERT_LOCATION}}
  67. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  68. #endif // !defined(AFX_YLGL_H__88616122_4218_48A0_9752_26D0146598CB__INCLUDED_)