Most MFC functions call their parent's functions, like for instance:
void CMyDoc:eleteContents()
{
...do stuff
CDocument:eleteContents();
}
How do they do this? They aren't calling member functions of an *object*, they are calling member functions of a *class*.
And those member functions aren't static either -- I looked.
void CMyDoc:eleteContents()
{
...do stuff
CDocument:eleteContents();
}
How do they do this? They aren't calling member functions of an *object*, they are calling member functions of a *class*.
And those member functions aren't static either -- I looked.