1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- // stdafx.h : include file for standard system include files,
- // or project specific include files that are used frequently, but
- // are changed infrequently
- #if !defined(AFX_STDAFX_H__D3E3BA89_EEFA_11D5_AB1C_00D0B70C3D79__INCLUDED_)
- #define AFX_STDAFX_H__D3E3BA89_EEFA_11D5_AB1C_00D0B70C3D79__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
- #include <afxwin.h> // MFC core and standard components
- #include <afxext.h> // MFC extensions
- #include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
- #ifndef _AFX_NO_AFXCMN_SUPPORT
- #include <afxcmn.h> // MFC support for Windows Common Controls
- #endif // _AFX_NO_AFXCMN_SUPPORT
- #include <afxdb.h> // MFC ODBC database classes
- #include <afxmt.h>
- #include <afxsock.h> // MFC socket extensions
- #include "Shlwapi.h"
- #include <afxtempl.h>
- #include <shlobj.h>
- #include "shfolder.h"
- #include <afxtempl.h> // MFC 模板类
- // #if LOG4C_ENABLE
- // #include "log4c.h"
- // #pragma comment(lib,"log4c.lib")
- // #endif
- //#define BASIC_VERSION //简易版,只有流程
- #define MSG_LENGTH 64
- #define TIMEDOG_VERSION//时钟狗
- #define SQLSERVER_VERSION //MS SQL版本
- //...........................
- //#define LKAY_VERSION //靓康爱婴
- //#define LYFZ_VERSION //内部版本
- //...........................
- //#define CONNCOUNT_VERSION //座席版
- #define CHILD_VERSION //儿童版
- #define ENTERPRISE_VERSION //企业版
- //...........................
- // 儿童版有三个版本:
- // 1.只开启CHILD_VERSION宏,就是儿童全能版;
- // 2.开启CHILD_VERSION + CONNCOUNT_VERSION :儿童座席版;
- // 3.开启CHILD_VERSION + ENTERPRISE_VERSION:儿童企业版;
- // 婚纱版:
- // 1.全部宏关闭,就是婚纱全能版;
- // 2.只开启CONNCOUNT_VERSION,就是婚纱座席版;
- // 3.只开启ENTERPRISE_VERSION,就是婚纱企业版;
- //GDI+k
- #include "Global.h"
- #include "CharacterConvert.h"
- // #ifndef ULONG_PTR
- // #define ULONG_PTR unsigned long*
- // #endif
- // #include ".\\includes\\gdiplus.h" ////请修改为你的头文件路径
- // using namespace Gdiplus;
- // #pragma comment(lib, ".\\lib\\gdiplus.lib") ////请修改为你的.lib文件路径
- #define FTPSTAT_DOWNLOADSUCCEEDED 2
- #define FTPSTAT_UPLOADSUCCEEDED 3
- #define FTPSTAT_DOWNLOADFAILED 4
- #define FTPSTAT_UPLOADFAILED 5
- #define WM_THREADSTART WM_USER+200
- #define WM_THREADCLOSE WM_USER+201
- #define WM_THREADMSG WM_USER+202
- #define WM_ADDTRACELINE WM_USER+203
- extern CString BrowseForFolder(HWND hWnd, LPCSTR lpszTitle, UINT nFlags);
- extern void DoEvents();
- extern void GetAppDir(CString& strAppDir);
- extern BOOL WaitWithMessageLoop(HANDLE hEvent, int nTimeout);
- PFNSHGETFOLDERPATHA GetFuncPtr_SHGetFolderPathA();
- extern HRESULT CreateStartMenuShortcut(LPSTR lpszShortcutFile, LPSTR lpszDescription, LPTSTR lpszRelativeFolder);
- extern void RemoveStartMenuShortcut(LPSTR lpszDescription, LPTSTR lpszRelativeFolder);
- extern CString GetShortcutTarget(LPCTSTR lpszFilename);
- void AutoSizeColumns(CListCtrl *pListCtrl);
- BOOL MakeSureDirectoryPathExists(LPCTSTR lpszDirPath);
- BOOL IsNumeric(char *buff);
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_STDAFX_H__D3E3BA89_EEFA_11D5_AB1C_00D0B70C3D79__INCLUDED_)
|