trichview.support
Re: TRichViewEdit, set caret at X,Y coordinates ? |
Author |
Message |
Sergey Tkachenko |
Posted: 07/21/2003 10:25:34 Well, OnDragDrop is a safe event - you can use SendMessage or even call this procedure directly from OnDragDrop. The list of unsafe events: all keyboard events, OnMouseMove, OnRVMouseMove, OnStartDrag, OnDragOver. In these procedures you cannot call methods that can destroy inplace editor of table cell (such as Clear and SetSelectionBounds). > > Sergey Tkachenko wrote: > > SendMessage does not make sense here, because it executes the message > > handler immediately. > Which is exactly what I need (I think). > Because I drag an object form another application, > the cursor in TRV isn't visible. > So there's nothing meaningfull I can do during DragOver. > The only action I take is on DragDrop, > then I position the cursor and insert the object (and have to make sure > the cursor is in the right position at that moment, so therefor: > SendMessage) |
Powered by ABC Amber Outlook Express Converter