YLGL.h 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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 "refreshtable.h"
  17. #include "BtnST.h"
  18. #include "IsGrowthTx.h"
  19. #include "SearchFilter.h"
  20. extern void GongToLong(CString &date);
  21. extern void LongToGong(CString &date);
  22. extern BOOL CheckBadWords2(CString str,BOOL bMsg=0);
  23. extern CString GetModifyTime(CString path);
  24. extern void SetComboHei(CComboBox *pCombo, int hei);
  25. extern BOOL LoadLia(CString path, BYTE **pData, BYTE **pDataBegin, Image **pBk, HWND hwnd);
  26. //extern CString GetDateTime(Image *image);
  27. extern DEVMODE g_dm;
  28. extern CRect g_rc;
  29. extern CMainFrame *g_pMainWnd;
  30. extern MainFrimDlg2 *g_pMainWnd2;
  31. extern BOOL CALLBACK EnumChildProc(HWND hwnd,LPARAM lParam);
  32. extern void GetSavePath(CString &path);
  33. extern float GetPointScale();
  34. extern float GetPointScale2();
  35. extern void WriteLog(CString str);
  36. extern CString GetLogStr(CString str);
  37. extern void ListToXLS(CListCtrl *pList, CString savepath, int mode);
  38. class CYLGLApp : public CWinApp
  39. {
  40. ULONG_PTR gdiplusToken;
  41. public:
  42. CYLGLApp();
  43. public:
  44. virtual BOOL InitInstance();
  45. virtual int ExitInstance();
  46. virtual int DoMessageBox(LPCTSTR lpszPrompt, UINT nType, UINT nIDPrompt);
  47. BOOL IsShareFolderExist(char *szServerName);
  48. afx_msg void OnAppAbout();
  49. DECLARE_MESSAGE_MAP()
  50. };
  51. #endif // !defined(AFX_YLGL_H__88616122_4218_48A0_9752_26D0146598CB__INCLUDED_)