afxcview.inl 978 B

1234567891011121314151617181920212223242526272829
  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. // Inlines for AFXCVIEW.H
  11. #ifdef _AFXCVIEW_INLINE
  12. // CListView
  13. _AFXCVIEW_INLINE CListView::CListView() : CCtrlView(WC_LISTVIEW,
  14. AFX_WS_DEFAULT_VIEW)
  15. { }
  16. _AFXCVIEW_INLINE CListCtrl& CListView::GetListCtrl() const
  17. { return *(CListCtrl*)this; }
  18. _AFXCVIEW_INLINE CTreeView::CTreeView() : CCtrlView(WC_TREEVIEW,
  19. AFX_WS_DEFAULT_VIEW)
  20. { }
  21. _AFXCVIEW_INLINE CTreeCtrl& CTreeView::GetTreeCtrl() const
  22. { return *(CTreeCtrl*)this; }
  23. #endif //_AFXCVIEW_INLINE
  24. /////////////////////////////////////////////////////////////////////////////