get text selection [modified]
-
Hi, what I would like to do is to show in a message box text selected in email body. Is there a method to obtain what I select in outlook mail body? Thanks
modified on Sunday, January 13, 2008 11:11:48 AM
Not sure off the top of my head at the moment, but you may want to look around at the Windows API for anything that grabs the currently selected text.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
-
Hi, what I would like to do is to show in a message box text selected in email body. Is there a method to obtain what I select in outlook mail body? Thanks
modified on Sunday, January 13, 2008 11:11:48 AM
well....if the email body is in a textbox ( i don't use outlook) you could probably use something like MessageBox.Show(emailbodytxtbox.SelectedText); also look into this area(may need to add a reference) System.Net.Mail.SmtpClient