Hi, I'm enumerating through DTE.Documents, and I'd like to see if a document is opened in the designer or code view - or both. It's fairly easy to see the windows that a document displays. But can you make it tell you the ViewKind somehow? So far my best solution is to check if the window's caption ends with "[Design]", but I can't count the ways that could go wrong. Thanks, Torben