IVsStatusbar::FreezeOutput Method (Int32)

 

Inhibits updates to the status text area.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int FreezeOutput(
	int fFreeze
)

Parameters

fFreeze
Type: System::Int32

[in] true tells the environment to place a freeze on the status bar. No further updates can be made until the freeze is released. false releases the freeze.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From vsshell.idl:

HRESULT IVsStatusbar::FreezeOutput(
   [in] BOOL fFreeze
);

You can make multiple calls to FreezeOutput, that is, status bar freezes can be nested. Each nested call must be matched with a call to release the corresponding freeze. Call GetFreezeCount to retrieve the current number of freezes in effect.

Return to top
Show: