Rtems and C++ -- code examples?
Rosimildo da Silva
rdasilva at connecttel.com
Thu Mar 22 13:15:12 UTC 2001
Erwin Rol wrote:
>
>
> from the MFC sources:
>
> The inheritance tree
> CObject <- CCmdTarget <- CWnd <- CView <- CCtrlView <- CListView
> CWmd <- CListCtrl
>
> _AFXCVIEW_INLINE CListView::CListView() : CCtrlView(WC_LISTVIEW,
> AFX_WS_DEFAULT_VIEW)
> { }
> _AFXCVIEW_INLINE CListCtrl& CListView::GetListCtrl() const
> { return *(CListCtrl*)this; }
>
> no wonder they need pointer casts to be posible in C# :-)
>
Good point. MFC is another peace of *crap*. MFC has been done
by people that have no clue what OO is all about.
--
Rosimildo da Silva rdasilva at connectel.com
ConnectTel, Inc. Austin, TX -- USA
Phone : 512-338-1111 Fax : 512-918-0449
Company Page: http://www.connecttel.com
Home Page: http://members.nbci.com/rosimildo/
More information about the users
mailing list