Click here to Skip to main content
15,892,298 members
Articles / Desktop Programming / MFC

A multi document tabbed interface

Rate me:
Please Sign up or sign in to vote.
4.69/5 (12 votes)
29 Jan 2000 248.5K   7.1K   87  
A variation on the MDI that indicates the open child windows in a tab control.
// ==========================================================================
// 			Specification : header file for MFC DLL extension builds
// ==========================================================================

// Copyright � Dundas Software Ltd. 1997 - 1998, All Rights Reserved
                          
// //////////////////////////////////////////////////////////////////////////

#if !defined(OX_CLASS_DECL) || !defined(OX_API_DECL) && !defined(OX_DATA_DECL)

#ifdef _BUILD_UTB_INTO_EXTDLL
#if !defined(WIN32) || !defined(_AFXEXT)
#pragma error("Wrong settings for UTB Extension DLL build")
#endif
#endif

#ifdef _LINK_TO_UTB_IN_EXTDLL
#if !defined(WIN32) || !defined(_AFXDLL)
#pragma error("Wrong settings for project that uses UTB Extension DLL")
#endif
#endif

#if defined(_LINK_TO_UTB_IN_EXTDLL) && defined(_BUILD_UTB_INTO_EXTDLL)
#pragma error("Error: both _BUILD_UTB_INTO_EXTDLL and _LINK_TO_UTB_IN_EXTDLL options has been specified")
#endif

// When including UTB classes into a MFC Extension DLL
#ifdef _BUILD_UTB_INTO_EXTDLL
	#ifndef OX_CLASS_DECL
		#define OX_CLASS_DECL		AFX_CLASS_EXPORT
	#endif
	#ifndef OX_API_DECL
		#define OX_API_DECL			AFX_API_EXPORT
	#endif
	#ifndef OX_DATA_DECL
		#define OX_DATA_DECL		AFX_DATA_EXPORT
	#endif
#elif defined(_LINK_TO_UTB_IN_EXTDLL)
// When linking to extension DLL that includes UTB classes 
	#ifndef OX_CLASS_DECL
		#define OX_CLASS_DECL		AFX_CLASS_IMPORT
	#endif
	#ifndef OX_API_DECL
		#define OX_API_DECL			AFX_API_IMPORT
	#endif
	#ifndef OX_DATA_DECL
		#define OX_DATA_DECL		AFX_DATA_IMPORT
	#endif
#else
	#ifndef OX_CLASS_DECL
		#define OX_CLASS_DECL	
	#endif
	#ifndef OX_API_DECL
		#define OX_API_DECL    
	#endif
	#ifndef OX_DATA_DECL
		#define OX_DATA_DECL    
	#endif
#endif

#endif	//	!defined(OX_CLASS_DECL) || !defined(OX_API_DECL) && !defined(OX_DATA_DECL)

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.

License

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


Written By
United States United States
Since 1992 Dundas Data Visualization has been helping companies all over the world visualize their data. Dundas products have a global reputation of being the highest quality, and are all designed, built and tested to meet the strictest requirements that developers and business managers demand.

Our showcase product is Dundas Dashboard, an easy-to-integrate digital dashboard software solution. Dundas Dashboard allows for the rapid and collaborative development of performance dashboards, helping companies leverage their business intelligence (BI) solutions.

Our web-based dashboard software comes with wizard interfaces, and a unique Dundas DashFlowTM process, allowing for the simultaneous development of an executive dashboard by business analysts, IT staff and database administrators. It also uses premier charts, maps, gauges and graph controls, letting end-users visualize their data as required.

Dundas also offers superb, world class consulting services for those companies that do not have the in-house expertise to implement their data visualization projects.

The quality of our products in conjunction with our unmatched technical support, numerous awards and years of experience reflect Dundas Data Visualization's commitment to being the best!
This is a Organisation

3 members

Comments and Discussions