<< Click to display table of contents >> TRVChat.GetMessageAtScreenCoords, GetMessageAtClientCoords, GetMessageAtCursor, GetMessageAtDocumentCoords |
Returns the message at the specified coordinates (or nil, if none).
function GetMessageAtScreenCoords(
const Pt: TRVCoordPoint): TRVChatMessage;
function GetMessageAtClientCoords(
const Pt: TRVCoordPoint): TRVChatMessage;
function GetMessageAtDocumentCoords(
const Pt: TRVCoordPoint): TRVChatMessage;
function GetMessageAtCursor: TRVChatMessage;
Pt parameter is a pont:
▪For GetMessageAtClientCoords: in client coordinates of ChatRichView (the origin is at the top left corner of ChatRichView window)
▪For GetMessageAtDocumentCoords: in document coordinates of ChatRichView (the origin is at the top left corner of ChatRichView scrollable area)
▪For GetMessageAtScreenCoords: in desktop coordinates.
GetMessageAtScreenCoords returns the message below the mouse pointer.