I think it'll work in any method that the child would call inside the parent. Just probably not the ctor. Try any other method define the
method in the abstract class and have the derived class call it but
don't define it in the derived class. I bet it works.
Re: How to get the parent form? ... and the ctor makes with it what it wants: ... It will be set as soon as the control is added to ... > the parent control collection.... > method if you provide the class for the child control.... (microsoft.public.dotnet.framework.windowsforms.designtime)
Re: Catch WM_SIZE ... I want to intercept this message IN my DIALOG. ... Not in my derived class.... where it goes to initially, to the parent window, the dialog). ... parent who orders the child to resize in the first place. ... (microsoft.public.vc.mfc)
Re: Catch WM_SIZE ... I want to intercept this message IN my DIALOG. ... Not in my derived class.... where it goes to initially, to the parent window, the dialog). ... parent who orders the child to resize in the first place. ... (microsoft.public.vc.mfc)
Re: base/derived name unhiding but with ctors ... >declaration within the derived class to get around it. ... So each ctor can only do that for its own class. ... >class that call the appropriate methods in the base class.... But I suppose it's OK to put constructors of ... (comp.lang.cpp)
Re: Un-ringing the bell: making parent methods unavailable to children ... course making the method private in the derived class will prevent it from ... > to one type of data structure as a pointer to another type via overriding ... > Addunless it is type case as its parent class.... > polymorphism in general. ... (microsoft.public.dotnet.languages.vc)