source: trunk/Utilities/Control/OptionTreeView/stdafx.h @ 937

Last change on this file since 937 was 192, checked in by roman, 9 years ago
File size: 3.0 KB
Line 
1////////////////////////////////////////////////////////////
2// Copyright (C) Roman Ryltsov, 2008-2013
3// Created by Roman Ryltsov roman@alax.info
4
5#pragma once
6
7////////////////////////////////////////////////////////////
8// Windows definitions
9
10#define WINVER                  0x0500
11#define _WIN32_WINNT    0x0501
12#define _WIN32_WINDOWS  0x0410
13#define _WIN32_IE               0x0501
14#define _RICHEDIT_VER   0x0200
15
16#define INLINE_HRESULT_FROM_WIN32
17#define _INC_WINDOWSX
18
19#include <windows.h>
20#include <shellapi.h>
21
22////////////////////////////////////////////////////////////
23// ATL definitions
24
25#define _ATL_APARTMENT_THREADED
26//#define _ATL_NO_COM_SUPPORT
27#define _ATL_NO_AUTOMATIC_NAMESPACE
28#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS
29#define _ATL_ALL_WARNINGS
30//#define _ATL_ATTRIBUTES
31
32#include "roatltrace.h" // Replacement for <atltrace.h>
33#include <atlbase.h>
34#include <atlcom.h>
35#include <atlwin.h>
36#include <atltypes.h>
37#include <atlsync.h>
38#include <atlfile.h>
39#include <atlpath.h>
40#include <atlcoll.h>
41#include <atlrx.h>
42#include <atlctl.h>
43#include <atlhost.h>
44
45using namespace ATL;
46using namespace ATL::ATLPath;
47
48////////////////////////////////////////////////////////////
49// WTL
50
51#define _WTL_NO_CSTRING
52#define _WTL_NO_WTYPES
53#define _WTL_NO_UNION_CLASSES
54#define _WTL_NEW_PAGE_NOTIFY_HANDLERS
55
56#include <atlapp.h>
57#include <atlgdi.h>
58#include <atluser.h>
59#include <atlcrack.h>
60#include <atlctrls.h>
61#include <atlctrlx.h>
62#include <atlmisc.h>
63#include <atlframe.h>
64#include <atldlgs.h>
65
66using namespace WTL;
67
68////////////////////////////////////////////////////////////
69// Alax.Info ATL/WTL
70
71#define REGISTRY_PRODUCTROOT    _T("SOFTWARE\\Alax.Info\\Utility") _T("\\") _T("OptionTreeView")
72#define REGISTRY_FILEROOT               REGISTRY_PRODUCTROOT
73#define REGISTRY_ROOT                   REGISTRY_FILEROOT
74
75#include "roatlbase.h"
76#include "roatlvariants.h"
77#include "roatlcom.h"
78#include "roatlpersist.h"
79#include "roatlmisc.h"
80#include "roatlexceptionfilter.h"
81#include "rowtlapp.h"
82#include "rowtlcrack.h"
83#include "rodialogs.h"
84#include "rocontrols.h"
85
86////////////////////////////////////////////////////////////
87// Common Controls
88
89#if defined _M_IX86
90  #pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"")
91#elif defined _M_IA64
92  #pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"")
93#elif defined _M_X64
94  #pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"")
95#else
96  #pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
97#endif
Note: See TracBrowser for help on using the repository browser.