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 / November 2004

Tip: Looking for answers? Try searching our database.

Tool window layout persistence

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Greg - 01 Nov 2004 23:29 GMT
What is the best way to inhibit the creation of a tool window on startup that
was open when VS shut down? (similar to the Help window behavior in VS2003)

Greg
"Rusty Deschenes [MS]" - 06 Nov 2004 00:17 GMT
Hello Greg,

First, do not use the ForceCreate flag when calling
IVsUiShell->CreateToolWindow()

Second, add to the registry a DWORD entry named DontForceCreate with a
value of 1. This should be added under
HKLM\Software\Microsoft\VisualStudio\<version#>\ToolWindows\<YourToolWindowG
uid>\

--------------------
| From: "=?Utf-8?B?R3JlZw==?=" <Greg@discussions.microsoft.com>
| Date: Mon, 1 Nov 2004 14:29:04 -0800
[quoted text clipped - 3 lines]
|
| Greg

Doing both should get you the result you desire
Rusty
Signature

--
Rusty Deschenes [MSFT]

This posting is provided "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.