According to the MSDN library it is possible to obtain a pointer to your derived view from anywhere.
Basically using a function in your derived view such as..
static CMyView * GetView();
// obtain a view and performe checks
/// then return (cast)CView;
However when you include the views header file in the required location, e.g MainFrame || a Dialog class it comes up with 3 errors that i dont understand...
delview.h(21) : error C2143: syntax error : missing ';' before '*'
delview.h(21) : error C2501: 'CDelDoc' : missing storage-class or type specifiers
delview.h(21) : error C2501: 'GetDocument' : missing storage-class or type specifiers
However i can see no errors, and when i remove the include headers, there are no errors.. But i need to headers to access the view pointer.
Any Help much appreciated