I have been googling for the last two days. All of the results talk about the TextPointer and is not what I need.
EDIT: If it helps, this is my latest attempt.
//thw is the autocomplete window and box is the richtextbox.
thw.WindowStartupLocation = System.Windows.WindowStartupLocation.Manual;
Rect bounds = box.CaretPosition.GetCharacterRect(LogicalDirection.Forward);
thw.Top = bounds.Y + box.Margin.Top + win.Top;
thw.Left = bounds.X + box.Margin.Left + win.Left;
thw.Show();
This post has been edited by Amrykid: 28 May 2011 - 06:58 AM

New Topic/Question
Reply




MultiQuote





|