home *** CD-ROM | disk | FTP | other *** search
/ QBasic & Borland Pascal & C / Delphi5.iso / C / BC_502 / MFCINC.PAK / AFXCVIEW.INL < prev    next >
Encoding:
Text File  |  1997-05-06  |  978 b   |  30 lines

  1. // This is a part of the Microsoft Foundation Classes C++ library.
  2. // Copyright (C) 1992-1995 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.