class ClassA: My own class { public: void OnMouseEvent(MouseEvent mouseEvent, CPoint point); }; class ClassB: public CDialog { void SetMinMax(); };
ClassB *dlg = (ClassB*) this->GetParent();
ClassA
OnMouseEvent()
ClassB
class ClassA: My own class { public: void OnMouseEvent(MouseEvent mouseEvent, CPoint point) { ClassB b; b.SetMinMax(); } }; class ClassB: public CDialog { void SetMinMax(); };
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)