|
// This is part of the Professional User Interface Suite library.
// Copyright (C) 2001-2002 FOSS Software, Inc.
// All rights reserved.
//
// http://www.fossware.com
// mailto:foss@fossware.com
//
// This source code can be used, modified and redistributed
// under the terms of the license agreement that is included
// in the Professional User Interface Suite package.
//
// Warranties and Disclaimers:
// THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND
// INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
// IN NO EVENT WILL FOSS SOFTWARE INC. BE LIABLE FOR ANY DIRECT,
// INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY OR CONSEQUENTIAL DAMAGES,
// INCLUDING DAMAGES FOR LOSS OF PROFITS, LOSS OR INACCURACY OF DATA,
// INCURRED BY ANY PERSON FROM SUCH PERSON'S USAGE OF THIS SOFTWARE
// EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
#if (!defined __EXT_MFC_DEF_H)
#define __EXT_MFC_DEF_H
#pragma warning ( disable : 4201 )
#include <mmsystem.h>
#pragma warning ( default : 4201 )
#pragma message(" Automatically linking with WinMM library")
#pragma message(" (Windows Multimedia System)")
#pragma comment( lib, "winmm.lib" )
// __PROF_UIS_VERSION_DWORD is required for static library builds
#define __PROF_UIS_VERSION_DWORD DWORD( 0x02020001 )
// Prof-UIS basic library
#if (defined _AFXDLL)
#if (defined __STATPROFUIS_WITH_DLLMFC__)
#if (defined _DEBUG)
#if (defined _UNICODE)
#define __PROF_UIS_LIB_NAME "ProfUIS220yud.lib"
#elif (defined _MBCS)
#define __PROF_UIS_LIB_NAME "ProfUIS220ymd.lib"
#else
#define __PROF_UIS_LIB_NAME "ProfUIS220ynd.lib"
#endif // _UNICODE
#else
#if (defined _UNICODE)
#define __PROF_UIS_LIB_NAME "ProfUIS220yu.lib"
#elif (defined _MBCS)
#define __PROF_UIS_LIB_NAME "ProfUIS220ym.lib"
#else
#define __PROF_UIS_LIB_NAME "ProfUIS220yn.lib"
#endif // _UNICODE
#endif // _DEBUG
#else
#if (defined _DEBUG)
#if (defined _UNICODE)
#define __PROF_UIS_MODULE_NAME _T("ProfUIS220ud.dll")
#define __PROF_UIS_LIB_NAME "ProfUIS220ud.lib"
#elif (defined _MBCS)
#define __PROF_UIS_MODULE_NAME _T("ProfUIS220md.dll")
#define __PROF_UIS_LIB_NAME "ProfUIS220md.lib"
#else
#define __PROF_UIS_MODULE_NAME _T("ProfUIS220nd.dll")
#define __PROF_UIS_LIB_NAME "ProfUIS220nd.lib"
#endif // _UNICODE
#else
#if (defined _UNICODE)
#define __PROF_UIS_MODULE_NAME _T("ProfUIS220u.dll")
#define __PROF_UIS_LIB_NAME "ProfUIS220u.lib"
#elif (defined _MBCS)
#define __PROF_UIS_MODULE_NAME _T("ProfUIS220m.dll")
#define __PROF_UIS_LIB_NAME "ProfUIS220m.lib"
#else
#define __PROF_UIS_MODULE_NAME _T("ProfUIS220n.dll")
#define __PROF_UIS_LIB_NAME "ProfUIS220n.lib"
#endif // _UNICODE
#endif // _DEBUG
#endif // __STATPROFUIS_WITH_DLLMFC__
#else
#if (defined _DEBUG)
#if (defined _UNICODE)
#define __PROF_UIS_LIB_NAME "ProfUIS220sud.lib"
#elif (defined _MBCS)
#define __PROF_UIS_LIB_NAME "ProfUIS220smd.lib"
#else
#define __PROF_UIS_LIB_NAME "ProfUIS220snd.lib"
#endif // _UNICODE
#else
#if (defined _UNICODE)
#define __PROF_UIS_LIB_NAME "ProfUIS220su.lib"
#elif (defined _MBCS)
#define __PROF_UIS_LIB_NAME "ProfUIS220sm.lib"
#else
#define __PROF_UIS_LIB_NAME "ProfUIS220sn.lib"
#endif // _UNICODE
#endif // _DEBUG
#endif // _AFXDLL
#if defined __PROF_UIS_IMPL__
#if (defined _AFXDLL && !defined __STATPROFUIS_WITH_DLLMFC__)
#define __PROF_UIS_API _declspec(dllexport)
#else
#define __PROF_UIS_API
#endif // _AFXDLL
#else
#if (defined _AFXDLL && !defined __STATPROFUIS_WITH_DLLMFC__)
#define __PROF_UIS_API _declspec(dllimport)
#else
#define __PROF_UIS_API
#endif // _AFXDLL
#pragma message(" Automatically linking with ProfUIS220 library")
#pragma message(" (Professional User Interface Suite)")
#pragma comment( lib, __PROF_UIS_LIB_NAME )
#endif
#if (defined __PROF_UIS_ADV_IMPL__)
#if (!defined __ENABLED_PROF_UIS_ADV__)
#define __ENABLED_PROF_UIS_ADV__
#endif
#endif // #if (defined __PROF_UIS_ADV_IMPL__)
#if (defined __ENABLED_PROF_UIS_ADV__)
// __PROF_UIS_VERSION_DWORD is required for static library builds
#define __PROF_UIS_ADV_VERSION_DWORD DWORD( 0x02010501 )
// Prof-UIS advanced library
// (now for internal use only)
#if (defined _AFXDLL)
#if (defined __STATPROFUIS_WITH_DLLMFC__)
#if (defined _DEBUG)
#if (defined _UNICODE)
#define __PROF_UIS_ADV_LIB_NAME "ProfUISAdv220yud.lib"
#elif (defined _MBCS)
#define __PROF_UIS_ADV_LIB_NAME "ProfUISAdv220ymd.lib"
#else
#define __PROF_UIS_ADV_LIB_NAME "ProfUISAdv220ynd.lib"
#endif // _UNICODE
#else
#if (defined _UNICODE)
#define __PROF_UIS_ADV_LIB_NAME "ProfUISAdv220yu.lib"
#elif (defined _MBCS)
#define __PROF_UIS_ADV_LIB_NAME "ProfUISAdv220ym.lib"
#else
#define __PROF_UIS_ADV_LIB_NAME "ProfUISAdv220yn.lib"
#endif // _UNICODE
#endif // _DEBUG
#else
#if (defined _DEBUG)
#if (defined _UNICODE)
#define __PROF_UIS_ADV_MODULE_NAME _T("ProfUISAdv220ud.dll")
#define __PROF_UIS_ADV_LIB_NAME "ProfUISAdv220ud.lib"
#elif (defined _MBCS)
#define __PROF_UIS_ADV_MODULE_NAME _T("ProfUISAdv220md.dll")
#define __PROF_UIS_ADV_LIB_NAME "ProfUISAdv220md.lib"
#else
#define __PROF_UIS_ADV_MODULE_NAME _T("ProfUISAdv220nd.dll")
#define __PROF_UIS_ADV_LIB_NAME "ProfUISAdv220nd.lib"
#endif // _UNICODE
#else
#if (defined _UNICODE)
#define __PROF_UIS_ADV_MODULE_NAME _T("ProfUISAdv220u.dll")
#define __PROF_UIS_ADV_LIB_NAME "ProfUISAdv220u.lib"
#elif (defined _MBCS)
#define __PROF_UIS_ADV_MODULE_NAME _T("ProfUISAdv220m.dll")
#define __PROF_UIS_ADV_LIB_NAME "ProfUISAdv220m.lib"
#else
#define __PROF_UIS_ADV_MODULE_NAME _T("ProfUISAdv220n.dll")
#define __PROF_UIS_ADV_LIB_NAME "ProfUISAdv220n.lib"
#endif // _UNICODE
#endif // _DEBUG
#endif // __STATPROFUIS_WITH_DLLMFC__
#else
#if (defined _DEBUG)
#if (defined _UNICODE)
#define __PROF_UIS_ADV_LIB_NAME "ProfUISAdv220sud.lib"
#elif (defined _MBCS)
#define __PROF_UIS_ADV_LIB_NAME "ProfUISAdv220smd.lib"
#else
#define __PROF_UIS_ADV_LIB_NAME "ProfUISAdv220snd.lib"
#endif // _UNICODE
#else
#if (defined _UNICODE)
#define __PROF_UIS_ADV_LIB_NAME "ProfUISAdv220su.lib"
#elif (defined _MBCS)
#define __PROF_UIS_ADV_LIB_NAME "ProfUISAdv220sm.lib"
#else
#define __PROF_UIS_ADV_LIB_NAME "ProfUISAdv220sn.lib"
#endif // _UNICODE
#endif // _DEBUG
#endif // _AFXDLL
#if defined __PROF_UIS_ADV_IMPL__
#if (defined _AFXDLL && !defined __STATPROFUIS_WITH_DLLMFC__)
#define __PROF_UIS_ADV_API _declspec(dllexport)
#else
#define __PROF_UIS_ADV_API
#endif // _AFXDLL
#else
#if (defined _AFXDLL && !defined __STATPROFUIS_WITH_DLLMFC__)
#define __PROF_UIS_ADV_API _declspec(dllimport)
#else
#define __PROF_UIS_ADV_API
#endif // _AFXDLL
#pragma message(" Automatically linking with ProfUISAdv220 library")
#pragma message(" (Professional User Interface Suite / Advanced Stuff)")
#pragma comment( lib, __PROF_UIS_ADV_LIB_NAME )
#endif
#endif // __ENABLED_PROF_UIS_ADV__
// Prof-UIS registry names
#define __PROF_UIS_REG_SECTION _T("ProfUIS220")
#define __PROF_UIS_REG_PROFILES _T("Profiles")
#define __PROF_UIS_REG_COMMAND_MANAGER _T("CommandManager")
#define __PROF_UIS_REG_CONTROL_BAR _T("ControlBar")
#endif // __EXT_MFC_DEF_H
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
A list of licenses authors might use can be found here
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.