C++ -Like Inheritance in ATL
Article Writing
1
Posts
1
Posters
0
Views
1
Watching
-
I'm quite new to ATL. I want to know how to implement a C++ like class inheritance in ATL. I understood that we can implement an interface inheritance (e.g. Multiple Dual Interfaces) but this method would only expose one IDispatch to clients not using vtable binding. Example: I want to have Shape object (or interface) then I want Rectangle and Ellipse objects to inherit the properties of Shape and implement/override methods like GetClipRect, Rotate etc.