Vadim's Weblog

Never stop learning.

Archive for October 2nd, 2007

Copy text from a MessageBox

Posted by Vadim on October 2, 2007

I learned how to copy text from a MessageBox about five years ago from one of my co-workers. For those of you who haven’t learned this trick yet; here it is.MessageBox

Let assume that we have a Message Box like one on the right. To copy the message all you need to do is to press Ctrl-C when the Message Box has focus.

Next open your favorite text editor like Notepad and paste it there by pressing Ctrl-V. You’ll see text similar if not identical to this one:

—————————
Caption
—————————
Some Message!!!
—————————
OK
—————————

How cool is that.

kick it on DotNetKicks.com

Posted in Tips And Tricks | 8 Comments »