Udostępnij za pośrednictwem


TextTipData.CheckCaretPosition(IVsTextView) Method

Definition

Dismisses the tool tip based on mouse proximity to something that has a tool tip.

public:
 void CheckCaretPosition(Microsoft::VisualStudio::TextManager::Interop::IVsTextView ^ textView);
public:
 void CheckCaretPosition(Microsoft::VisualStudio::TextManager::Interop::IVsTextView ^ textView);
void CheckCaretPosition(Microsoft::VisualStudio::TextManager::Interop::IVsTextView const & textView);
public void CheckCaretPosition (Microsoft.VisualStudio.TextManager.Interop.IVsTextView textView);
member this.CheckCaretPosition : Microsoft.VisualStudio.TextManager.Interop.IVsTextView -> unit
Public Sub CheckCaretPosition (textView As IVsTextView)

Parameters

textView
IVsTextView

The view the text tip floats over.

Remarks

The screen location where the user is interacting with the user interface artifact is called the caret. If the caret is located before the item that floats a tool tip or the caret is beyond the current position of the tool tip plus the length of the tool tip, dismiss the tip.

Applies to