VC ++ master20-Jan-04 7:19 I am building an editor sort of thing in vc++ and i want to get the filename of the open file & for that i want to know How to override the OnOpenDocument() function and also how to edit the text in the title bar of the SDI application's window.