in reply to TK:Message box

Run this program, observe how it works, then bind the correct key symbol into your messagebox code.
#!/usr/bin/perl use Tk; $mw = MainWindow->new; $mw->bind("<Key>", [ sub { print "Key Press: $_[1] \n" } , Ev('K') ] + ); $mw->bind("<KeyRelease>", [ sub { print "Key Release: $_[1] \n" } , Ev +('K') ] ); MainLoop;

I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku