thanks, that worked for determining if the cursor is over the control correctly, but i've come across another problem with html view. drop into the editor and pasteHtml works for where the cursor was, but i also need to be able to edit selected text when somethign is dropped. all api-references describing selection seem to only work in design view. Much like what happens in the editor if i select text and hit the "Bold" toolbar button, i need to wrap the selected text with custom tags/attributes. are there anymore methods not in the docs (as in the previous suggestion which worked perfectly) that would help me find the selected text in html view, alter it, and replace it, similar to the bold toolbar button in design view? I will paste the code tryign to find the selected text, although it is copy pasted from the docs, and there is no attempt yet to actually replace or alter the selected text.