此问题与this one有关。我想知道当显示自动完成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);
}
}