Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Casting from CTreeView to CTreeCtrl

0 views
Skip to first unread message

Terry Scott

unread,
Dec 28, 2003, 7:37:14 PM12/28/03
to
I read an MSDN article that explained how CTreeView can be cast to a
CTreeCtrl because they are both descended from CWnd and CtreeCtrl has no
virtual functions and no member data. The article states how CtreeCtrl is
a pure wrapper class.

http://msdn.microsoft.com/msdnmag/issues/01/11/c/default.aspx

What books do you recommend that get into really good "behind the scenes"
detail on how vtables are implemented by compilers. If it goes into some
detail on how/where vtables are loaded into memory, that would be great.

CheckAbdoul

unread,
Dec 28, 2003, 8:44:01 PM12/28/03
to
You can take a look at the following book.

"Inside the C++ Object Model" by Stanley B. Lippman.

http://www.amazon.com/exec/obidos/tg/detail/-/0201834545/103-7283681-6522249?v=glance

Also take a look at the following article

http://msdn.microsoft.com/library/en-us/dncomg/html/msdn_cpptocom.asp

--
Cheers
Check Abdoul [VC++ MVP]
-----------------------------------

"Terry Scott" <NOSPAMts...@ISAIDNOSPAMoptonline.net> wrote in message
news:_GKHb.3203718$be.4...@news.easynews.com...

0 new messages