49 lines
1.6 KiB
C++
49 lines
1.6 KiB
C++
// 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__8509634C_D0D8_4FF8_BAD1_5FA95312BEDC__INCLUDED_)
|
|
#define AFX_STDAFX_H__8509634C_D0D8_4FF8_BAD1_5FA95312BEDC__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 <afxdisp.h> // MFC Automation classes
|
|
#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
|
|
|
|
#define _ATL_APARTMENT_THREADED
|
|
#include <atlbase.h>
|
|
//You may derive a class from CComModule and use it if you want to override
|
|
//something, but do not change the name of _Module
|
|
class CMSConfigModule : public CComModule
|
|
{
|
|
public:
|
|
LONG Unlock();
|
|
LONG Lock();
|
|
LPCTSTR FindOneOf(LPCTSTR p1, LPCTSTR p2);
|
|
DWORD dwThreadID;
|
|
};
|
|
extern CMSConfigModule _Module;
|
|
#include <atlcom.h>
|
|
#include <atlwin.h>
|
|
|
|
#ifndef ListView_SetCheckState
|
|
#define ListView_SetCheckState(hwndLV, i, fCheck) \
|
|
ListView_SetItemState(hwndLV, i, \
|
|
INDEXTOSTATEIMAGEMASK((fCheck)+1), LVIS_STATEIMAGEMASK)
|
|
#endif
|
|
|
|
//{{AFX_INSERT_LOCATION}}
|
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
|
|
|
#endif // !defined(AFX_STDAFX_H__8509634C_D0D8_4FF8_BAD1_5FA95312BEDC__INCLUDED_)
|