On Thu, Mar 06, 2003 at 02:17:48PM +0000, Angus Leeming wrote: > Do things become clearer?
Not sure. But ViewCitation(Dialog & parent) : ViewBase(parent) {} virtual void printcontroller() { std::cout << "ViewCitation's controller is " << getController<ControlCitation>().whoami() can _never_ work as I think you want as the ControlCitation type is static, so there is a static tie between ViewCitation and ControlCitation. Every such construct _statically_ ties ControlCitation and ViewCitation... Ok...... Is the situation like that: We have a set of Controlers and a set of View. A dialog has one Controler and one View. In theory any Control can be couple with any View In practice, only a few combinations are useful. These combinations are static, i.e. established at compile time(?) ? Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)