home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / mfc / include / afxcview.inl < prev    next >
Text File  |  1998-06-16  |  978b  |  30 lines

  1. // This is a part of the Microsoft Foundation Classes C++ library.
  2. // Copyright (C) 1992-1998 Microsoft Corporation
  3. // All rights reserved.
  4. //
  5. // This source code is only intended as a supplement to the
  6. // Microsoft Foundation Classes Reference and related
  7. // electronic documentation provided with the library.
  8. // See these sources for detailed information regarding the
  9. // Microsoft Foundation Classes product.
  10.  
  11. // Inlines for AFXCVIEW.H
  12.  
  13. #ifdef _AFXCVIEW_INLINE
  14.  
  15. // CListView
  16. _AFXCVIEW_INLINE CListView::CListView() : CCtrlView(WC_LISTVIEW,
  17.     AFX_WS_DEFAULT_VIEW)
  18.     { }
  19. _AFXCVIEW_INLINE CListCtrl& CListView::GetListCtrl() const
  20.     { return *(CListCtrl*)this; }
  21. _AFXCVIEW_INLINE CTreeView::CTreeView() : CCtrlView(WC_TREEVIEW,
  22.     AFX_WS_DEFAULT_VIEW)
  23.     { }
  24. _AFXCVIEW_INLINE CTreeCtrl& CTreeView::GetTreeCtrl() const
  25.     { return *(CTreeCtrl*)this; }
  26.  
  27. #endif //_AFXCVIEW_INLINE
  28.  
  29. /////////////////////////////////////////////////////////////////////////////
  30.