can anybody please provide me a code to demonstrate how we can locate the position of the currently selected text (any position, middle, left or right) in a richtextbox control??
i need to show a listbox at the position with some synonyms option. the listbox is invisible at start of application. only when user selects a word from richtextbox should the listbox be shown at the current selected text location.