Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
注: テキスト ボックス カーソル (入力している場所を示す垂直線とも呼ばれます。マウスではありません) について話しています。
上記の素晴らしいメモにあるように、テキスト カーソルの位置を Point として取得しようとしているので、その下にポップアップを表示できます。どうすればいいですか?
テキスト ボックスには、GetRectFromCharacterIndex使用できるメソッドがあります。例えば:
GetRectFromCharacterIndex
textbox.GetRectFromCharacterIndex(textbox.CaretIndex)