D
D F
I have just installed VS .NET moving from VS6 and if I create an MFC
Application (Dialog) and insert the following code in the OnInitialize
method
this->GetAncestor(GA_PARENT);
I get the error message "GetAncestor() : not a member of...".
Additionally if I use ::GetAncestor it says GetAncestor is not a member of
the global namespace. And if I just use GetAncestor is can not find that
method.....
Methods like ::GetWindowText work fine!
Any ideas?
Thanks
D.
Application (Dialog) and insert the following code in the OnInitialize
method
this->GetAncestor(GA_PARENT);
I get the error message "GetAncestor() : not a member of...".
Additionally if I use ::GetAncestor it says GetAncestor is not a member of
the global namespace. And if I just use GetAncestor is can not find that
method.....
Methods like ::GetWindowText work fine!
Any ideas?
Thanks
D.