trichview.support
Re: How to get item below mouse cursor? |
Author |
Message |
Petko Georgiev |
Posted: 11/21/2004 13:16:41 This is C++ code, but it should be easy to convert, if you are using Delphi: (let's assume you use the OnMouseMove event) TPoint point = RichView->ClientToDocument(TPoint(X, Y)); int itemNo, offset; TCustomRVFormattedData* data; RichView->GetItemAt(x, y, data, itemNo, offset, true); Regards, Petko Georgiev Milenix Software Ltd. http://www.milenix.com "J.M. Ok" <zerograde@hanmail.net> wrote in message news:419db062@support.torry.net... > > I should get TRVItemInfo object below mouse cursor in RichView. > If an item is inside a table cell, I could not catch the item below mouse > cursor? > Any ideas ok...help me. > > Thank you. |
Powered by ABC Amber Outlook Express Converter