Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
tools
vsnet.act
vsnet.debugging
vsnet.documentation
vsnet.enterprise.tools
vsnet.general
vsnet.ide
vsnet.jlca
vsnet.servicepacks
vsnet.setup
vsnet.vsip
vsnet.vss
vsnet.vstools.office
vstudio.development
vstudio.extensibility
vstudio.general
vstudio.helpauthoring
vstudio.setup
vstudio.sourcesafe
  
 
date: Fri, 13 Jun 2008 11:31:41 +0200,    group: microsoft.public.vstudio.extensibility        back       


ViewKind for open windows   
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
date: Fri, 13 Jun 2008 11:31:41 +0200   author:   Torben Frandsen frandsen@ret.s?.privat.tele.dk

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us