SimpleEditorView::OnEnterState Method (UInt32, Int32)
Notifies the view when the application enters or exits a given state.
Assembly: Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)
Parameters
- uStateID
-
Type:
System::UInt32
The state being entered or exited, specified by the _OLECSTATE enumeration.
- fEnter
-
Type:
System::Int32
true if the application is entering the specified state, false if it is exiting the state.
If one (or more) calls are made with fEnter equal to true, the view should consider the state to be in effect until one (or more) calls are made with fEnter equal to false. It is possible for this method to be called with fEnter equal to false more times than it was called with fEnter equal to true. If there is a state counter that is incremented when this method is called with fEnter equal to true and decremented when called with fEnter equal to false, the counter should not be decremented if it is already at zero.