M
markww
Hi,
I have this class:
class CBase {
int m_nData;
OnStart();
OnRightMouseClick();
}
I want to derive another class from it and keep all its functions the
same, but I want to override OnRightMouseClick() with its own code:
class CNew : public CBase {
OnRightMouseClick(); // CNew specific code in here.
}
Is that possible, how do I do it?
Thanks as always
I have this class:
class CBase {
int m_nData;
OnStart();
OnRightMouseClick();
}
I want to derive another class from it and keep all its functions the
same, but I want to override OnRightMouseClick() with its own code:
class CNew : public CBase {
OnRightMouseClick(); // CNew specific code in here.
}
Is that possible, how do I do it?
Thanks as always