Muokkaa

Jaa


Classes Shared by MFC and ATL

The following table lists the classes shared between MFC and ATL.

Class Description Header file
CFileTime Provides methods for managing the date and time values associated with a file. atltime.h
CFileTimeSpan Provides methods for managing relative date and time values associated with a file. atltime.h
CFixedStringT Represents a string object with a fixed character buffer. cstringt.h
CImage Provides enhanced bitmap support, including the ability to load and save images in JPEG, GIF, BMP, and Portable Network Graphics (PNG) formats. atlimage.h
COleDateTime Encapsulates the DATE data type used in OLE automation. atlcomtime.h
COleDateTimeSpan Represents a relative time, a time span. atlcomtime.h
CPoint A class similar to the Windows POINT structure that also includes member functions to manipulate CPoint and POINT structures. atltypes.h
CRect A class similar to a Windows RECT structure that also includes member functions to manipulate CRect objects and Windows RECT structures. atltypes.h
CSimpleStringT Represents a CSimpleStringT object. atlsimpstr.h
CSize A class similar to the Windows SIZE structure, which implements a relative coordinate or position. atltypes.h
CStrBufT Provides automatic resource cleanup for GetBuffer and ReleaseBuffer calls on an existing CStringT object. atlsimpstr.h
CStringData Represents the data of a string object. atlsimpstr.h
CStringT Represents a CStringT object. cstringt.h (MFC dependent) atlstr.h (MFC independent)
CTime Represents an absolute time and date. atltime.h
CTimeSpan An amount of time, which is internally stored as the number of seconds in the time span. atltime.h
IAtlStringMgr Represents the interface to a CStringT memory manager. atlsimpstr.h

See also

ATL/MFC Shared Classes