In my WebBrowser control in a dialog in my C# winforms application I have a 2-column HTML table. When I display the dialog with the browser I select text in the second column. I need to get the selected text, and the whole text of the column in that row, and the text of first column in that row.
How do I do that? I am processing it it ProcessCmdKeyprotected override bool ProcessCmdKey(ref Message msg, Keys keyData) { if (keyData == Keys.F1) { //webBrowser1.? } return base.ProcessCmdKey(ref msg, keyData); }