YLGL.h 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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 inline BOOL WriteLog(CString strLogType, CString strLogOpt, CString strLogGenerant, CString strLogContent);
  37. extern CString GetLogStr(CString str);
  38. extern void ListToXLS(CListCtrl *pList, CString savepath, int mode);
  39. class CYLGLApp : public CWinApp
  40. {
  41. ULONG_PTR gdiplusToken;
  42. public:
  43. CYLGLApp();
  44. public:
  45. virtual BOOL InitInstance();
  46. virtual int ExitInstance();
  47. virtual int DoMessageBox(LPCTSTR lpszPrompt, UINT nType, UINT nIDPrompt);
  48. BOOL IsShareFolderExist(char *szServerName); // Jeff:在InitInstance时,检测共享文件夹是否存在;
  49. afx_msg void OnAppAbout();
  50. DECLARE_MESSAGE_MAP()
  51. };
  52. #endif // !defined(AFX_YLGL_H__88616122_4218_48A0_9752_26D0146598CB__INCLUDED_)