diff options
Diffstat (limited to 'public/sdk/inc/mfc40/afxcview.inl')
-rw-r--r-- | public/sdk/inc/mfc40/afxcview.inl | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/public/sdk/inc/mfc40/afxcview.inl b/public/sdk/inc/mfc40/afxcview.inl new file mode 100644 index 000000000..40274d4c0 --- /dev/null +++ b/public/sdk/inc/mfc40/afxcview.inl @@ -0,0 +1,29 @@ +// This is a part of the Microsoft Foundation Classes C++ library. +// Copyright (C) 1992-1995 Microsoft Corporation +// All rights reserved. +// +// This source code is only intended as a supplement to the +// Microsoft Foundation Classes Reference and related +// electronic documentation provided with the library. +// See these sources for detailed information regarding the +// Microsoft Foundation Classes product. + +// Inlines for AFXCVIEW.H + +#ifdef _AFXCVIEW_INLINE + +// CListView +_AFXCVIEW_INLINE CListView::CListView() : CCtrlView(WC_LISTVIEW, + AFX_WS_DEFAULT_VIEW) + { } +_AFXCVIEW_INLINE CListCtrl& CListView::GetListCtrl() const + { return *(CListCtrl*)this; } +_AFXCVIEW_INLINE CTreeView::CTreeView() : CCtrlView(WC_TREEVIEW, + AFX_WS_DEFAULT_VIEW) + { } +_AFXCVIEW_INLINE CTreeCtrl& CTreeView::GetTreeCtrl() const + { return *(CTreeCtrl*)this; } + +#endif //_AFXCVIEW_INLINE + +///////////////////////////////////////////////////////////////////////////// |