I think you cant handle this - if the "title bar" ( i think you mean the border of the window) has focus
the frame is easy to access just use
private void Form1_MouseEnter(object sender, EventArgs e)
{
textBox1.Text = "asdf";
}
or whatever should happen ;)