这个问题与这个有关。我想知道显示 AutoComplete UI 时 TextBox 控件接收到哪些 Windows 消息:
class MyTextbox : TextBox
{
protected override void WndProc(ref Message m)
{
// what messages are received here when
// the autocomplete UI is shown and hidden?
base.WndProc(ref m);
}
}