Descent3/editor/StdAfx.h

57 lines
1.8 KiB
C
Raw Permalink Normal View History

/*
2024-06-15 18:12:48 +00:00
* Descent 3
* Copyright (C) 2024 Parallax Software
*
* Descent 3: Apex
* Copyright (C) 2024 by Justin Marshall
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//
#pragma once
2024-06-15 18:12:48 +00:00
#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
2024-06-15 18:12:48 +00:00
#include <afxwin.h> // MFC core and standard components
#include <afxext.h> // MFC extensions
#ifndef _AFX_NO_AFXCMN_SUPPORT
2024-06-15 18:12:48 +00:00
#include <afxcmn.h> // MFC support for Windows 95 Common Controls
#endif // _AFX_NO_AFXCMN_SUPPORT
2024-06-15 18:12:48 +00:00
#include <afxole.h> // MFC OLE support (ADDED BY SAMIR)
#include <windows.h>
// Various 64bit wrapper functions.
#undef GetWindowLong
#undef SetWindowLong
#undef SetClassLong
#undef LONG
#define GWL_WNDPROC GWLP_WNDPROC
#define SetClassLong SetClassLongPtr
#define GetWindowLong GetWindowLongPtr
#define SetWindowLong SetWindowLongPtr
#define GWL_USERDATA GWLP_USERDATA
#define GCL_HICON GCLP_HICON
#define DWL_MSGRESULT DWLP_MSGRESULT
#define DWL_DLGPROC DWLP_DLGPROC
#ifndef GCL_HBRBACKGROUND
#define GCL_HBRBACKGROUND (-10)
#endif