Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Extensibility / February 2005

Tip: Looking for answers? Try searching our database.

Show OutputWindow

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Greg - 17 Feb 2005 16:41 GMT
How do I force the OutputWindow to show if another tab is active (e.g.
Tasks), or the OutputWindow has been closed? Using VSIP2003 managed helper
classes.

The Activate method on OutputWindowPane only activates my pane, and only if
the OutputWindow is active. OutputWindow only has methods to create panes. Is
there a way to get the IVsWindowFrame of the OutputWindow and use its Show
method. How does Build force the OutputWindow to appear even if it has been
closed?

Thanks.
Greg
Parag Chandra - 17 Feb 2005 21:50 GMT
Have you tried something like:

Windows windows = applicationObject.Windows;

Window window = (Window)windows.Item(EnvDTE.Constants.vsWindowKindOutput);

window.Activate();

yourWindowPane.Activate();

?

> How do I force the OutputWindow to show if another tab is active (e.g.
> Tasks), or the OutputWindow has been closed? Using VSIP2003 managed helper
[quoted text clipped - 11 lines]
> Thanks.
> Greg
"Ed Dore [MSFT]" - 17 Feb 2005 22:32 GMT
Hi Greg,

I believe the output window is displayed by the project system when it
first initiates the build (like from IVsBuildableProjectCfg::StartBuild for
example).  To retrieve the OutputWindow's IVsWindowFrame, you should be
able to use IVsUIShell::FindToolWindow.

Sincerely,
Ed Dore [MSFT]

This post is 'AS IS' with no warranties and confers no rights.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.