Hello Michael,

Friday, April 19, 2002, 8:38:58 AM, you wrote:

MB> Has anyone noticed that after working on a WinForm for awhile the
MB> properties window will hide and not come back no matter what? You
MB> have to shut down VS and re-open it to get it back.

This was driving me insane, so let me make everyone's day a little
better with a workaround for this BUG.  Create a macro of your
choosing, and assign it the following code:

        DTE.ExecuteCommand("View.PropertiesWindow")
        Dim win As Window = DTE.Windows.Item(Constants.vsWindowKindProperties)

        win.AutoHides = False
        win.AutoHides = True

I put mine in the temporary macro because I can remember Ctrl-Shift-P
= Properties Window.  :)

--
Best regards,
 N. Sean Timm                  mailto:[EMAIL PROTECTED]

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to