trichview.support
Re: MDI-children, strange caret jumping ?? |
Author |
Message |
Sergey Tkachenko |
Posted: 04/17/2005 13:00:33 Yes, it's very possible. Caret is an applicationwide resource, there is only one caret in the application, and it's shown in the focused window. It's very easy to move caret in another window. Here is a WinAPI function for assigning the caret position: BOOL SetCaretPos(int X, int Y); You can see - it does not contain a reference to window, it moves the caret in the focused window. So, if editor uses it inaccurately, it can move caret in foreign window easily. > For me it stays very weird that a caret setting of > another component than RVE, > in another MDI-child > can affect the behaviour of the caret in RVE, > which is also in another MDI-child ?????? |
Powered by ABC Amber Outlook Express Converter