/*===============================================================*/ /* */ /* stdAfx.h : include file for standard system include files, */ /* or project specific include files that are used frequently, */ /* but are changed infrequently. */ /* */ /* Copyright (C) 1991-2004 by LEAD Technologies, Inc. */ /* */ /* All Rights Reserved */ /* */ /*===============================================================*/ #if !defined(AFX_STDAFX_H__C6FF4FE6_8334_47E6_8A71_66635A5EB912__INCLUDED_) #define AFX_STDAFX_H__C6FF4FE6_8334_47E6_8A71_66635A5EB912__INCLUDED_ #if _MSC_VER >= 1000 #pragma once #endif // _MSC_VER >= 1000 #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers #include // MFC core and standard components #include // MFC extensions #include #ifndef _AFX_NO_AFXCMN_SUPPORT #include // MFC support for Windows Common Controls #endif // _AFX_NO_AFXCMN_SUPPORT #include "..\..\..\include\l_bitmap.h" #include "..\..\..\include\ltlst.h" #include "..\..\..\include\lttmb.h" #ifndef RECTWIDTH #define RECTWIDTH(lpRect) (((LPRECT) lpRect)->right - ((LPRECT) lpRect)->left) #define RECTHEIGHT(lpRect) (((LPRECT) lpRect)->bottom - ((LPRECT) lpRect)->top) #endif #define _RECTWIDTH(lpRect) (((LPRECT) lpRect)->right - ((LPRECT) lpRect)->left) #define _RECTHEIGHT(lpRect) (((LPRECT) lpRect)->bottom - ((LPRECT) lpRect)->top) #define WM_DOREALIZE (WM_USER + 0) #define CHANGED_DATA 0x0000 #define CHANGED_COLOR 0x0001 #define CHANGED_SIZE 0x0002 #define CHANGED_ALL (CHANGED_DATA | CHANGED_COLOR | CHANGED_SIZE) #include "windowsx.h" #include "resource.h" #ifndef WM_SETMESSAGESTRING #define WM_SETMESSAGESTRING 0x0362 #endif #ifndef OFN_ENABLESIZING #define OFN_ENABLESIZING 0x00800000 #endif #define PREVIEW_TEMP_FILE_NAME "c:\\preview" #define PREVIEW_TEMP_FILE_NAME_G4 "c:\\preview.g4" #ifdef _DEBUG static void Trace(L_TCHAR * szFormat,...) { L_TCHAR buffer[1024]; wvsprintf(buffer,szFormat,(LPSTR)(((LPSTR)(&szFormat))+sizeof(szFormat)) ); OutputDebugString( buffer); Sleep(1); } #else #define Trace #endif //{{AFX_INSERT_LOCATION}} // Microsoft Developer Studio will insert additional declarations immediately before the previous line. #endif // !defined(AFX_STDAFX_H__C6FF4FE6_8334_47E6_8A71_66635A5EB912__INCLUDED_)